Skip to content
GitHubDiscord

prosekit/vue/resizable

Emits for the ResizableHandle component.

  • CreateEmits<Events>

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 ResizableRoot component.

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

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


Props for the ResizableRoot component.

aspectRatio?: null | number

height?: null | number

width?: null | number

const ResizableHandle: DefineSetupFnComponent<ResizableHandleProps & HTMLAttributes, ResizableHandleEmits>


const ResizableRoot: DefineSetupFnComponent<ResizableRootProps & HTMLAttributes, ResizableRootEmits>