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
| id | String | ✓ || The unique identifier of the menu to be called. |
33
-
| attributes | Object ||| The attributes will be passed directly passed to the root element of component. Use this to customize it like adding custom classes, adding `colspan` etc. |
34
-
| collect | Function ||| A simple function which takes `props` as input and returns the data to be passed to contextmenu. |
35
-
| disable | Boolean ||`false`| Prop to ignore right clicks and display the default browser context menu. |
36
-
| holdToDisplay | Number ||`1000`| This is applicable only for touch screens. The time (in ms) for which, user has to hold down his/her finger before the menu is shown. **Note:** To disable the long press trigger on left-click just set a negative holdToDisplay value such as `-1`|
37
-
| renderTag | String or React Element ||| The element inside which the Component must be wrapped. By default `div` is used. But this prop can used to customize it. |
| id | String | ✓ || The unique identifier of the menu to be called. |
33
+
| attributes | Object ||| The attributes will be passed directly passed to the root element of component. Use this to customize it like adding custom classes, adding `colspan` etc. |
34
+
| collect | Function ||| A simple function which takes `props` as input and returns the data to be passed to contextmenu. |
35
+
| disable | Boolean ||`false`| Prop to ignore right clicks and display the default browser context menu. |
36
+
| holdToDisplay | Number ||`1000`| This is applicable only for touch screens. The time (in ms) for which, user has to hold down his/her finger before the menu is shown. **Note:** To disable the long press trigger on left-click just set a negative holdToDisplay value such as `-1`|
37
+
| renderTag | String or React Element ||| The element inside which the Component must be wrapped. By default `div` is used. But this prop can used to customize it. |
38
+
| disableIfShiftIsPressed | Boolean ||`false`| If true and shift is pressed, it will open the native browser context menu and ignore this custom component |
0 commit comments