跳到主要内容

ui/build/layout/frame.svelte

ui/build/layout/frame.svelte

Interfaces

FrameProps

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

Extends

Properties

as?
optional as?: any;

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

children
children: Snippet;

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

ratio?
optional ratio?: FrameRatio;

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

shrink?
optional shrink?: boolean;

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

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/frame.svelte.d.ts:12


FrameRatio

type FrameRatio = "square" | "portrait" | "landscape" | "widescreen" | "banner";

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

Named media crops. banner is the compact overview / sheet hero (2:1).

Variables

default

const default: Component;

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