Browse Source

Document sideMenu.openGestureMode

This property can be used to control how the SideMenu is opened using swipe gesture

bezel - only swipes from the side of the screen open the side menu
entireScreen - Swipe from any area of the screen will open the SideMenu
Guy Carmeli 6 years ago
parent
commit
3eed7ab164
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      docs/docs/styling.md

+ 1
- 0
docs/docs/styling.md View File

190
     },
190
     },
191
   },
191
   },
192
   sideMenu: {
192
   sideMenu: {
193
+    openGestureMode: 'entireScreen' | 'bezel'
193
     left: {
194
     left: {
194
       shouldStretchDrawer: false, // defaults to true, when false sideMenu contents not stretched when opened past the width
195
       shouldStretchDrawer: false, // defaults to true, when false sideMenu contents not stretched when opened past the width
195
       animationVelocity: 2500, // defaults to 840, high number is a faster sideMenu open/close animation
196
       animationVelocity: 2500, // defaults to 840, high number is a faster sideMenu open/close animation