소스 검색

Move animationType property to parent (#4608)

Robin van Wijngaarden 6 년 전
부모
커밋
3fa61d4faf
1개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 3
    4
      docs/docs/styling.md

+ 3
- 4
docs/docs/styling.md 파일 보기

192
   sideMenu: {
192
   sideMenu: {
193
     left: {
193
     left: {
194
       shouldStretchDrawer: false, // defaults to true, when false sideMenu contents not stretched when opened past the width
194
       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
-      animationType: 'parallax' // defaults to none if not provided, options are 'parallax', 'door', 'slide', or 'slide-and-scale'    
195
+      animationVelocity: 2500 // defaults to 840, high number is a faster sideMenu open/close animation
197
     },
196
     },
198
     right: {
197
     right: {
199
       shouldStretchDrawer: false, // defaults to true, when false sideMenu contents not stretched when opened past the width
198
       shouldStretchDrawer: false, // defaults to true, when false sideMenu contents not stretched when opened past the width
200
-      animationVelocity: 2500, // defaults to 840, high number is a faster sideMenu open/close animation
201
-      animationType: 'parallax' // defaults to none if not provided, options are 'parallax', 'door', 'slide', or 'slide-and-scale'    
199
+      animationVelocity: 2500 // defaults to 840, high number is a faster sideMenu open/close animation
202
     },
200
     },
201
+    animationType: 'parallax', // defaults to none if not provided, options are 'parallax', 'door', 'slide', or 'slide-and-scale'    
203
     openGestureMode: 'entireScreen' | 'bezel'
202
     openGestureMode: 'entireScreen' | 'bezel'
204
   }
203
   }
205
   bottomTabs: {
204
   bottomTabs: {