Topic: How to set slide-out button for the SideNav permanently
s.naujoks@finsquare24.com asked 6 years ago
Dear support team,
how can I set the slide-out button for the SideNav in the navbar.component permanently, without consideration of the display size?
kind regards
Stefan
Arkadiusz Idzikowski staff answered 6 years ago
You need to add template reference variable to the sidenav element
<mdb-side-nav #sidenav><mdb-side-nav>
(click)="sidenav.toggle()
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.0.0
- Device: MacBookPro
- Browser: Safari
- OS: Mac OSX
- Provided sample code: No
- Provided link: No