소스 검색

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 년 전
부모
커밋
3eed7ab164
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      docs/docs/styling.md

+ 1
- 0
docs/docs/styling.md 파일 보기

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