Skip to content

prosekit/vue/resizable

ResizableHandleEmits

Emits for the ResizableHandle component.

ResizableHandleProps

Props for the ResizableHandle component.

position

The position of the handle.

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

Default: "bottom-right"

ResizableRootEmits

Emits for the ResizableRoot component.

resizeEnd

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

resizeStart

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

ResizableRootProps

Props for the ResizableRoot component.

aspectRatio

Type: null | number

height

Type: null | number

width

Type: null | number

ResizableHandle

Type: DefineSetupFnComponent<ResizableHandleProps & HTMLAttributes, ResizableHandleEmits>

ResizableRoot

Type: DefineSetupFnComponent<ResizableRootProps & HTMLAttributes, ResizableRootEmits>