Skip to content
GitHub

prosekit/vue/resizable

Emits for the ResizableHandle component.

Props for the ResizableHandle component.

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

The position of the handle.

Default: "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

Type: DefineSetupFnComponent<ResizableHandleProps & HTMLAttributes, ResizableHandleEmits>

Type: DefineSetupFnComponent<ResizableRootProps & HTMLAttributes, ResizableRootEmits>