NativeScript & Vue.JS

SideDrawer: Programmatic control

RadSideDrawer exposes API for programmatic control of its state.

The showDrawer(), closeDrawer() and toggleDrawerState() methods

The showDrawer() method is used to open the drawer. closeDrawer() method is used to close the drawer and toggleDrawerState() is used to switch to the opposite state depending on the current one - open or closed.

The gesturesEnabled property

Using the gesturesEnabled property you can prevent the end users from opening or closing the RadSideDrawer using gestures.