Home > @jsplumbtoolkit/test-support > jsPlumbToolkitTestHarness > tapOnNode
jsPlumbToolkitTestHarness.tapOnNode() method
Simulates a tap event on the node with the given id - a tap event is a mousedown followed by a mouseup whose page coordinates are identical to the mousedown event's page coordinates.
Signature:
tapOnNode(nodeId: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
nodeId | string |
Returns:
void