feat(props): add onZoomPaneClick

This commit is contained in:
Nate Amack
2020-07-31 10:45:40 -06:00
parent e3d24507e5
commit 2a0274b9a3
4 changed files with 26 additions and 2 deletions
+1
View File
@@ -93,6 +93,7 @@ const BasicFlow = () => <ReactFlow elements={elements} />;
- `onMoveStart()`: called when user starts panning or zooming
- `onMoveEnd()`: called when user ends panning or zooming
- `onSelectionChange(elements: Elements)`: called when user selects one or multiple elements
- `onZoomPaneClick()`: called when user clicks directly on the canvas
#### Interaction
- `nodesDraggable`: default: `true`. This applies to all nodes. You can also change the behavior of a specific node with the `draggable` node option.