prosekit/web/resizable
ResizableHandleElement
ResizableRootElement
ResizableHandleProps
position
The position of the handle.
Type:
"left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right"
Default:
"bottom-right"
ResizableRootEvents
resizeEnd
Type:
CustomEvent<{ height: number; width: number }>
resizeStart
Type:
CustomEvent<{ height: number; width: number }>
ResizableRootProps
aspectRatio
Type:
null | number
height
Type:
null | number
width
Type:
null | number