prosekit/solid/resizable
Interfaces
Section titled “Interfaces”ResizableHandleProps
Section titled “ResizableHandleProps”Props for the ResizableHandle component.
Extends
Section titled “Extends”Partial
<CreateProps
<ResizableHandleProps
,Events
>>
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 component.
Extends
Section titled “Extends”Partial
<CreateProps
<ResizableRootProps
,ResizableRootEvents
>>
Properties
Section titled “Properties”-
aspectRatio?:
null
|number
-
height?:
null
|number
-
onResizeEnd?: (
event
:CustomEvent
<{height
:number
;width
:number
; }>) =>void
-
onResizeStart?: (
event
:CustomEvent
<{height
:number
;width
:number
; }>) =>void
-
width?:
null
|number
Variables
Section titled “Variables”ResizableHandle
Section titled “ResizableHandle”-
const ResizableHandle:
Component
<PropsWithElement
<ResizableHandleProps
,ResizableHandleElement
>>
ResizableRoot
Section titled “ResizableRoot”-
const ResizableRoot:
Component
<PropsWithElement
<ResizableRootProps
,ResizableRootElement
>>