refactor(paneClick): rename onZoomPaneClick tp onPaneClick

This commit is contained in:
moklick
2020-08-01 12:13:51 +02:00
parent 2a0274b9a3
commit a095715e5f
4 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -93,7 +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
- `onPaneClick()`: 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.