Skip to content

Function: useHandle

â–¸ useHandle(): Object

Returns

Object

NameType
onClick(event: MouseEvent, handleId: null | string, nodeId: string, handleType: HandleType, isValidConnection?: ValidConnectionFunc) => void
onMouseDown(event: MouseEvent, handleId: null | string, nodeId: string, isTarget: boolean, isValidConnection?: ValidConnectionFunc, elementEdgeUpdaterType?: HandleType, onEdgeUpdate?: (connection: Connection) => void, onEdgeUpdateEnd?: () => void) => void

Released under the MIT License.