Documentation / API Reference

Modal

create #

Arguments
name String
params Object

Closes the opened modal.


this.app.dropdown.close();

isOpen #

Checks if a modal is opened.


if (this.app.modal.isOpen()) {
    ...
}

getName #

Returns a name of the opened modal.


let name = this.app.modal.getName();