Topic: Using dropdown methods

Dave Moniz priority asked 3 years ago


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 priority commented 3 years ago

Disregard: it's just a typo in the documentation.

It should be MdbDropdownDirective not MdbDropdownModule.


Arkadiusz Idzikowski staff commented 3 years ago

@MonizDave Thank you for reporting this problem, we updated the documentation page.


Dave Moniz priority answered 2 years ago


Can confirm that documentation has been updated. Closing this.


FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • 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