Skip to content
GitHubDiscord

prosekit/web/resizable

new ResizableHandleElement(): ResizableHandleElement

ResizableHandleElementBase.constructor

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

The position of the handle.

"bottom-right"


new ResizableRootElement(): ResizableRootElement

ResizableRootElementBase.constructor

width: null | number

height: null | number

aspectRatio: null | number

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

The position of the handle.

"bottom-right"


width: null | number

height: null | number

aspectRatio: null | number


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

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