Enable/Disable side drawer on some NS Components

proui

#1

Hi Everyone,

How do I Enable or Disable side drawer (now placed on root of the app) on some nativescript components. (e.g. login page).

Thanks!


#2

Simply disable gestures - set gesturesEnabled to false.


#3

Thanks @manojdcoder! I’ll try that. But is there another way to completely remove the side drawer completely? setting gesturesEnabled seems just hides the side drawer.


#4

I believe you are using it as your root component. You may navigate to SideDrawer when required, keep login page in different frame.