Skip to content
GitHub

prosekit/web/resizable

Extends ResizableHandleElementBase

Extends ResizableRootElementBase

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

The position of the handle.

Default: "bottom-right"

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

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

aspectRatio: null | number

height: null | number

width: null | number