API Documentation for MDBModalService


Topic: API Documentation for MDBModalService

edgar@jumpco.io premium asked 4 years ago

Where can I find documentation for the APIs like MDBModalService. What does hide(level) do?

Trivial examples isn't enough. Documentation on the various APIs is expected for a commercial product.


Arkadiusz Idzikowski staff answered 4 years ago

You can find 'Dynamic modal options' list in the API section of the modal documentation (switch tab to API at the top of the page).

The MDBModalService hide method is not a part of public API, you should use hide() method available for modalRef element, as explained in the examples for dynamic modal.


edgar@jumpco.io premium commented 4 years ago

sometimes hide on modalRef doesn't hide the modal. how do I wait until the modal is actually "shown"? Other frameworks typically returns a Promise or Observable to use to wait for the item to be "shown"


Arkadiusz Idzikowski staff commented 4 years ago

We explained how to listen to the events in this section: https://mdbootstrap.com/docs/angular/modals/basic/#listen-to-events

In this case opened is the same as shown.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 10.1.1
  • Device: PC
  • Browser: Any
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags
api