DRAWER CENTER 1

Remember to also test loading drawer from config/application.coffee!

Show

testShow() - enables drawers, shows left one as default testShowLeft() testShowRight()

Enable / Disable sides

Left - testDisableLeftDrawer() Left - testEnableLeftDrawer() Right - testDisableRightDrawer() Right - testEnableRightDrawer() testShowAndHide() - shows a drawer and hides it after 1000ms timeout testShowModal() testPushLayer() testReplaceLayers() - replaces center view testAddRightButton() testTryToReusePreloadedAsModal()

Update drawers

Try updating right drawer with a non-preloaded WebView. This should fail to do anything. Try updating right drawer with a non-preloaded WebView with id property set. This should fail to do anything. Udpate right drawer with a preloaded WebView

Gestures


Test these gestures:
- open/close the drawer by panning (swiping) on the nav bar
- open/close the drawer by panning anywhere on the center view
- open/close the drawer by panning from the edge of the center view
- close the drawer by tapping the navigation bar of the center view
- close the drawer by tapping anywhere in the center view
- close the drawer by panning anywhere in the drawer view

testEnableAllGestures() testDisableGestureViaUpdate()

Styling

Hide shadow between drawer and center view Show shadow between drawer and center view set visible ScrimColor set invisible/transparent ScrimColor set invalid color string to ScrimColor

Sizes

Test different pixel width layer Test different pixel width drawers Test Drawer Stretch (pull on drawers to see effect) Reset sizes of drawers and layer and no stretch

Animations

testUpdateWithSlideAndScale() testUpdateWithSwingingDoor() testUpdateWithParallax() - default

Legacy Backwards Compatibility

testLegacyEnableGesture() testLegacyEnableGestureShorthand() testLegacyDisableGesture()