Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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 3 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