Skip to content

prosekit/web/resizable

ResizableHandleProps

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

The position of the handle.

Default: "bottom-right"

ResizableRootEvents

resizeEnd: CustomEvent<{ height: number; width: number }>

resizeStart: CustomEvent<{ height: number; width: number }>

ResizableRootProps

aspectRatio: null | number

height: null | number

width: null | number

ResizableHandleElement

ResizableRootElement