Skip to main content

Open Drawer

A drawer is an invisible side screen. It is a sliding left menu that generally contains important links in the application and occupies half of the screen when displayed. Drawer is a short menu from which you can navigate to app functionalities easily.

How to set up open drawer

Step 1: Select screen

Select the screen from the screen list on which you want to set up open drawer by clicking on Configure.

Select a screen in which you want to open a drawer on the tap of a widget.

Step 2: Select a widget, add onClick, choose Navigation, and add function name

Select a widget on which you want to add action by adding an onClick property and select Navigation from the listed actions. Provide a valid function name for the trigger method which will be generated in the code for the Open Drawer action and click on Submit.

Select a widget and add onClick property to set navigation action and then select open drawer action.

info

DhiWise auto-identifies all the drawer item screens of your app, which helps you choose a drawer item easily while you set up the action.

Step 3: Select Open Drawer as navigation type

You will need to provide input for Please choose the type of navigation you want to add you want to perform, here select Open Drawer from the list. Then a list of drawer item screens will be displayed. Pick one which you want to open on the tap of widget for Choose the screen on which you want to navigate.

Once the screen is selected, click on Save changes.

Select open drawer action and select a menu screen to appear on tap of widget.



Got a question? Ask here.