Skip to content
GitHubDiscord

prosekit/svelte/resizable

Props for the ResizableHandle component.

position?: "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right"

The position of the handle.

"bottom-right"


Props for the ResizableRoot component.

width?: null | number

height?: null | number

aspectRatio?: null | number

onResizeStart?: (event: CustomEvent<{ width: number; height: number; }>) => void

onResizeEnd?: (event: CustomEvent<{ width: number; height: number; }>) => void

const ResizableHandle: typeof SvelteComponent


const ResizableRoot: typeof SvelteComponent