Skip to content

prosekit/svelte/resizable

ResizableHandleProps

Props for the ResizableHandle component.

position

The position of the handle.

Type: "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right"

Default: "bottom-right"

ResizableRootProps

Props for the ResizableRoot component.

aspectRatio

Type: null | number

height

Type: null | number

onResizeEnd

Type: undefined | ((event: CustomEvent<{ height: number; width: number }>) => void)

onResizeStart

Type: undefined | ((event: CustomEvent<{ height: number; width: number }>) => void)

width

Type: null | number

ResizableHandle

Type: typeof SvelteComponent

ResizableRoot

Type: typeof SvelteComponent