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
| animationOpenTime | float | Yes | 300 | Time in milliseconds to execute the drawer opening animation. |
101
+
| animationCloseTime | float | Yes | 300 | Time in milliseconds to execute the drawer closing animation. |
102
+
| direction | string | Yes | left | Direction to open the collage, one of: ["left", "right", "top", "bottom"]. |
103
+
| dismissWhenTouchOutside | bool | Yes | true | Should the drawer be dismissed when a click is registered outside? |
104
+
| fadeOpacity | number | Yes | 0.6 | Opacity of the screen outside the drawer. |
105
+
| drawerScreenWidth | number/string | Yes | 80% | Width of drawer on portrait orientation. Pass a string containing '%' (e.g. "80%") for setting the width in relation to the screen or a number for absolute width (e.g. 300) |
106
+
| drawerScreenWidthOnLandscape | number/string | Yes | 30% | Width of drawer on landscape orientation. Pass a string containing '%' (e.g. "80%") for setting the width in relation to the screen or a number for absolute width (e.g. 300) |
107
+
| drawerScreenHeight | number/string | Yes | 100% | Height of drawer. Pass a string containing '%' (e.g. "30%") for setting the height in relation to the screen or a number for absolute height (e.g. 300)
108
+
| disableDragging | boolean | Yes | false | Whether you want to disable dragging of the drawer. Useful if you have ScrollView inside the drawer (addresses #62).|
109
+
| disableSwiping | boolean | Yes | false | Whether you want to disable swiping gesture. Use it only in pair with disableDragging. |
107
110
108
111
## SideMenuView
109
112
@@ -156,6 +159,10 @@ import { SideMenuView } from "react-native-navigation-drawer-extension";
156
159
| sideMarginRight | number | Yes | | The size of the gutter for the right side. |
157
160
158
161
## Contributors ✨
162
+
163
+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
0 commit comments