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
@@ -90,10 +90,25 @@ A simple and configurable React library that provides an efficient and effective
90
90
-`onSelectionEnd`: Optional callback function that is called when the selection ends
91
91
92
92
4.`useDragSelected` has the following options:
93
+
93
94
-`elementRef`: React ref to the element that you want to check if it is selected
94
95
-`selection`: The selection object that is provided by the `DragSelectionContext`
95
96
-`onSelected`: Optional callback function that is called when the element is selected
96
97
98
+
5. You can also ignore elements from having the selection logic interfere with their default behaviour (or that of their descendants) by adding the `ignore-drag-selection` class to them.
0 commit comments