To create a navigation drawer with nested list items, refer to the following steps.
Create a navigation drawer with list items. Refer to the following code example.
The above code creates a navigation drawer. But it is in the hidden state. So, in order to show the navigation drawer while clicking the button element, you need to set the targetid property with the element’s id to the navigation drawer. Refer to the following code example.
To enable sub list items, add one ul element with desired li items to the li element that acts as a parent menu item. You can show the header for the listview in the navigation drawer by setting data-ej-listviewsettings-showheader to true. Refer to the following code example.
This page will automatically be redirected to the sign-in page in 10 seconds.