Skip to content

prosekit/lit/resizable

ResizableHandle

Extends

Constructors

new ResizableHandle()

new ResizableHandle(): ResizableHandle

Returns

ResizableHandle

Inherited from

ElementBuilder<ResizableHandleProps>(useResizableHandle, defaultResizableHandleProps).constructor

Properties

position

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

The position of the handle.

Default
ts
"bottom-right"
Inherited from

ElementBuilder<ResizableHandleProps>(useResizableHandle, defaultResizableHandleProps).position


ResizableRoot

Extends

Constructors

new ResizableRoot()

new ResizableRoot(): ResizableRoot

Returns

ResizableRoot

Inherited from

ElementBuilder<ResizableRootProps>(useResizableRoot, defaultResizableRootProps).constructor

Properties

aspectRatio

aspectRatio: null | number

Inherited from

ElementBuilder<ResizableRootProps>(useResizableRoot, defaultResizableRootProps).aspectRatio

height

height: null | number

Inherited from

ElementBuilder<ResizableRootProps>(useResizableRoot, defaultResizableRootProps).height

onSizeChange

onSizeChange: null | (size) => void

Inherited from

ElementBuilder<ResizableRootProps>(useResizableRoot, defaultResizableRootProps).onSizeChange

onSizeChangeEnd

onSizeChangeEnd: null | (size) => void

Inherited from

ElementBuilder<ResizableRootProps>(useResizableRoot, defaultResizableRootProps).onSizeChangeEnd

onSizeChangeStart

onSizeChangeStart: null | (size) => void

Inherited from

ElementBuilder<ResizableRootProps>(useResizableRoot, defaultResizableRootProps).onSizeChangeStart

width

width: null | number

Inherited from

ElementBuilder<ResizableRootProps>(useResizableRoot, defaultResizableRootProps).width