Skip to content

prosekit/solid/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

ts
function ResizableHandle(props: Partial<ResizableHandleProps> & HTMLAttributes<ResizableHandle>): Element

ResizableRoot

ts
function ResizableRoot(props: Partial<ResizableRootProps> & HTMLAttributes<ResizableRoot>): Element