Help guide the NativeScript roadmap! Participate in the community survey. 📝

NativeScript Angular

RadSideDrawer 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.

The showOverNavigation property

Using the showOverNavigation property you can make RadSideDrawer position its drawerContent view over or below the ActionBar.

RadSideDrawer's drawerContent can be displayed above or under the action bar setting its showOverNavigation property.