Function: useHandle
â–¸ useHandle(): Object
Returns
Object
Name | Type |
---|---|
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 |