resizable
Ce contenu n’est pas encore disponible dans votre langue.
Type Aliases
ResizeHandleParams<Element>
Type Parameters
• Element extends HTMLElement
= HTMLElement
Type declaration
onresize()?
Parameters
• params
• params.event: PointerEvent
• params.height: number
• params.node: Element
• params.side: ResizeSide
• params.width: number
Returns
void
onresizeend()?
Returns
void
sides?
sides.all?
sides.bottom?
sides.left?
sides.right?
sides.top?
threshold?
Defined in
tmp/commons/src/lib/actions/resizable.ts:52
ResizeSide
Defined in
tmp/commons/src/lib/actions/resizable.ts:67
Functions
resizable()
Type Parameters
• N extends HTMLElement
= HTMLElement
Parameters
• node: N
• params: ResizeHandleParams
<N
> = {}
Returns
ActionReturn
<ResizeHandleParams
<N
>>