Closed tauchvogel closed 4 years ago
@tauchvogel you should add the Navbar by yourself ! The Navdrawer documentation page shows only the use case of the Navdrawer.
Before the Navdrawer add this:
<header class="navbar navbar-dark navbar-full bg-primary doc-navbar-default">
<button aria-controls="navdrawerDefault" aria-expanded="false" aria-label="Toggle Navdrawer" class="navbar-toggler" data-target="#navdrawerDefault" data-toggle="navdrawer">
<span class="navbar-toggler-icon"></span>
</button>
<span class="navbar-brand mr-auto">Navdrawer</span>
</header>
Check the Navbar documentation page for more: http://daemonite.github.io/material/docs/4.1/components/navbar/.
Close due to inactivity.
Thanks @ayouboudelaa for your help.
I wanted to test the navdrawer-default, like I can see in the documentation. When I go to the site, the navdrawer is open, but I don't see any navbar with it. After I clicked on the page, the drawer close itself and I only see a white page!
Above you see my full code and the single-line javascript command I am using.
I am new to Javascript and maybe someone could help me!