Skip to content

ui/build/layout/scroll.svelte

ui/build/layout/scroll.svelte

Interfaces

ScrollProps

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:4

Extends

Properties

align?
optional align?: "start" | "end" | "center" | "baseline" | "stretch";

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:19

as?
optional as?: any;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:5

axis?
optional axis?: any;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:6

children
children: Snippet;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:33

fade?
optional fade?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:15

Fade the edges that have content beyond them. On by default: it is what tells a reader there is more below now that the scroll bar hides at rest. Turn it off for a region whose own content must stay at full opacity to its edge — a media surface, a chart, anything where a soft edge would read as a rendering fault.

gap?
optional gap?: any;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:18

grow?
optional grow?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:22

Take the remaining space along the parent's main axis.

inset?
optional inset?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:8

justify?
optional justify?: "start" | "end" | "center" | "between";

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:20

layout?
optional layout?: ScrollLayout;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:17

Arrange direct children without introducing a second wrapper or scroll owner.

max?
optional max?: "standard" | "compact" | "tall";

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:31

Grow with the content up to a named cap instead of filling the parent — a popover list, a disclosure body. Same scale as Bound size.

name
name: string;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:7

ref?
optional ref?: HTMLElement | null;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:32

shrink?
optional shrink?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:24

Allow this region to shrink when its parent is constrained.

snap?
optional snap?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:26

Snap children to the start edge along the scroll axis — a reel of lanes or cards.

Type Aliases

default

type default = ReturnType<typeof default>;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:35

Variables

default

const default: Component;

Defined in: apps/website/.api-docs-entry/ui/build/layout/scroll.svelte.d.ts:35