跳到主要内容

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:26

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.

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:25

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.

Type Aliases

default

type default = ReturnType<typeof default>;

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

Variables

default

const default: Component;

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