prosekit/solid/resizable
Anatomy
Section titled “Anatomy”Interfaces
Section titled “Interfaces”ResizableHandleProps
Section titled “ResizableHandleProps”Props for the ResizableHandle Solid component.
Properties
Section titled “Properties”-
position?:"left"|"right"|"top"|"bottom"|"top-left"|"top-right"|"bottom-left"|"bottom-right" -
The position of the handle.
Default
Section titled “Default”"bottom-right"
ResizableRootProps
Section titled “ResizableRootProps”Props for the ResizableRoot Solid component.
Properties
Section titled “Properties”-
width?:number|null -
The width of the resizable element.
Default
Section titled “Default”null
-
height?:number|null -
The height of the resizable element.
Default
Section titled “Default”null
-
aspectRatio?:number|null -
The aspect ratio of the resizable element.
Default
Section titled “Default”null
-
onResizeStart?: (event:ResizeStartEvent) =>void -
Emitted when a resize operation starts.
-
onResizeEnd?: (event:ResizeEndEvent) =>void -
Emitted when a resize operation ends.
Variables
Section titled “Variables”ResizableHandle
Section titled “ResizableHandle”-
const ResizableHandle:Component<ResizableHandleProps&JSX.HTMLAttributes<ResizableHandleElement>> -
A Solid component that renders an
prosekit-resizable-handlecustom element.
ResizableRoot
Section titled “ResizableRoot”-
const ResizableRoot:Component<ResizableRootProps&JSX.HTMLAttributes<ResizableRootElement>> -
A Solid component that renders an
prosekit-resizable-rootcustom element.