Skip to content
GitHubDiscord

prosekit/vue/resizable

Props for the ResizableHandle component.

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

The position of the handle.

"bottom-right"


Emits for the ResizableHandle component.


Props for the ResizableRoot component.

width?: null | number

height?: null | number

aspectRatio?: null | number


Emits for the ResizableRoot component.

resizeStart: (event: CustomEvent<{ width: number; height: number; }>) => void

resizeEnd: (event: CustomEvent<{ width: number; height: number; }>) => void

const ResizableHandle: DefineSetupFnComponent<ResizableHandleProps & HTMLAttributes, ResizableHandleEmits>


const ResizableRoot: DefineSetupFnComponent<ResizableRootProps & HTMLAttributes, ResizableRootEmits>