Beispiel #1
0
        setImmediate(() => {
            this.element.addClass("show");

            if (callback) {
                onceTransitionEnds(this.element, callback);
            }
        });
Beispiel #2
0
 /** Hides the modal. */
 public hide(): void {
     onceTransitionEnds(this.element.removeClass("show"), () => {
         this.element.addClass("hidden");
     });
 }