Topic: I cannot use input mode in sidenav of angular mdb5
Nguyen Ba Tung pro premium asked 4 years ago
I use mdb5 angular but can't use change mode for sidenav
Arkadiusz Idzikowski staff answered 4 years ago
Thank you for reporting this problem, we will take a closer look at that. As a workaround for now please try to use setMode
method instead of mode
input. Use this code in your components TS file:
@ViewChild('sidenav') sidenav: MdbSidenavComponent;
ngAfterViewInit(): void { this.sidenav.setMode('push'); }
Arkadiusz Idzikowski staff answered 4 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Standard
- MDB Version: 3.2.0
- Device: PC
- Browser: Chrome
- OS: Linux
- Provided sample code: No
- Provided link: No