Topic: Using dropdown methods
Below is copy pasted from the documentation for how to use the dropdown methods:
@ViewChild('#dropdown') dropdown: MdbDropdownModule;
ngAfterViewInit(): void {
this.dropdown.show();
}
Expected behavior
It works as described
Actual behavior
Error message: Property 'hide' does not exist on type 'MdbDropdownModule'.ts(2339)
Dave Moniz premium priority answered 4 years ago
Closed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Closed
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB5 1.0.0-beta4
- Device: PC
- Browser: Google Chrome
- OS: Arch Linux
- Provided sample code: No
- Provided link: No
MonizDave premium priority commented 4 years ago
Disregard: it's just a typo in the documentation.
It should be MdbDropdownDirective not MdbDropdownModule.
Arkadiusz Idzikowski staff commented 4 years ago
@MonizDave Thank you for reporting this problem, we updated the documentation page.