Skip to content
GitHubDiscord

prosekit/web/resizable

  • ResizableHandleElementBase

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"

  • ResizableRootElementBase

new ResizableRootElement(): ResizableRootElement

ResizableRootElementBase.constructor

aspectRatio: null | number

height: null | number

width: null | number

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

The position of the handle.

"bottom-right"

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

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


aspectRatio: null | number

height: null | number

width: null | number