Skip to content

prosekit/vue/resizable

ResizableHandleEmits

Emits for the ResizableHandle component.

ResizableHandleProps

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"

ResizableRootEmits

Emits for the ResizableRoot component.

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

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

ResizableRootProps

Props for the ResizableRoot component.

aspectRatio?: null | number

height?: null | number

width?: null | number

ResizableHandle

Type: DefineSetupFnComponent<ResizableHandleProps & HTMLAttributes, ResizableHandleEmits>

ResizableRoot

Type: DefineSetupFnComponent<ResizableRootProps & HTMLAttributes, ResizableRootEmits>