components/flashbox/flashbox.component.js
/**
    * Use this method to show flashbox only once.
    * Flashbox will appear and then disappear.
    */
Use this method to show flashbox only once.
Flashbox will appear and then disappear.
Use this method to show flashbox only once . Flashbox will appear and then disappear .
flashOnce() {
        if ((this._intervalCounterObserver != null && !this._intervalCounterObserver.closed) || this.isShown) {
            console.error("FlashBox component is either shown or flashing");
            this._busy.emit();
            return;
        }
        this.show();
        setTimeout(() => this.hide(), this._setTimeout);
    }
flashOnce ( ) { if ( ( this . _intervalCounterObserver != null && ! this . _intervalCounterObserver . closed ) || this . isShown ) { console . error ( "FlashBox component is either shown or flashing" ) ; this . _busy . emit ( ) ; return ; } this . show ( ) ; setTimeout ( ( ) => this . hide ( ) , this . _setTimeout ) ; }
Use this method to show flashbox only once.
Use this method to show flashbox only once .
//if flashbox is flashing or visible emit busy event       