You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 379eea9
Browse filesBrowse the repository at this point in the historyBrowse files
|`rectangleElement`|`Element`| Visual element to be placed inside the selection. Should have `width` and `height` of `100%`. | no |Transparent blue rectangle with a grey dashed border |
65
-
|`onSelectionStarted`|`() => void`| Function to call when the selection is started | no |`() => {}`|
66
-
|`onSelectionChange`|`(rect: DOMRect) => void`| Function to call when the selection rectangle is updated | no |`() => {}`|
67
-
|`onSelectionFinished`|`(rect: DOMRect) => void`| Function to call when the selection is finished | no |`() => {}`|
68
-
|`onSelectionInterrupted`|`(rect: DOMRect) => void`| Function to call when the selection is interrupted in progress (e.g., mouse moved outside) | no |`() => {}`|
69
-
|`mouseDownEventVerifier`|`(event) => boolean`| Function to verify whether a mouse event should initiate the node selection process | no |`(event) => event.button === 0 && event.ctrlKey`|
70
-
|`mouseUpEventVerifier`|`(event) => boolean`| Function to verify whether a mouse event should apply the node selection | no |`(event) => event.button === 0 && event.ctrlKey`|
62
+
| Name | Type | Description | Required | Default |
|`rectangleElement`|`Element`| Visual element to be placed inside the selection. Should have `width` and `height` of `100%`. | no |Semi-transparent blue rectangle with a grey dashed border |
65
+
|`onSelectionStarted`|`() => void`| Function to call when the selection is started | no |`() => {}`|
66
+
|`onSelectionChange`|`(rect: DOMRect) => void`| Function to call when the selection rectangle is updated | no |`() => {}`|
67
+
|`onSelectionFinished`|`(rect: DOMRect) => void`| Function to call when the selection is finished | no |`() => {}`|
68
+
|`onSelectionInterrupted`|`(rect: DOMRect) => void`| Function to call when the selection is interrupted in progress (e.g., mouse moved outside) | no |`() => {}`|
69
+
|`mouseDownEventVerifier`|`(event) => boolean`| Function to verify whether a mouse event should initiate the node selection process | no |`(event) => event.button === 0 && event.ctrlKey`|
70
+
|`mouseUpEventVerifier`|`(event) => boolean`| Function to verify whether a mouse event should apply the node selection | no |`(event) => event.button === 0 && event.ctrlKey`|
0 commit comments