Toggle the native navigation drawer programmatically.
If your draft builder configuration has Sidebar/Navigation Drawer enabled, you can control the drawer directly from your web interface pages.
Open or close the sidebar using custom URLs:
<a href="nativine://open-drawer">Open Navigation Sidebar</a> <a href="nativine://close-drawer">Close Navigation Sidebar</a>
Trigger the drawer actions programmatically inside dynamic page headers or gesture handlers:
if (window.Nativine) {
window.Nativine.openDrawer(); // Opens the native navigation drawer
// window.Nativine.closeDrawer(); // Closes the drawer
}