()
| 869 | |
| 870 | // Public |
| 871 | close() { |
| 872 | const closeEvent = EventHandler.trigger(this._element, EVENT_CLOSE); |
| 873 | if (closeEvent.defaultPrevented) { |
| 874 | return; |
| 875 | } |
| 876 | this._element.classList.remove(CLASS_NAME_SHOW$8); |
| 877 | const isAnimated = this._element.classList.contains(CLASS_NAME_FADE$5); |
| 878 | this._queueCallback(() => this._destroyElement(), this._element, isAnimated); |
| 879 | } |
| 880 | |
| 881 | // Private |
| 882 | _destroyElement() { |
no test coverage detected