cordova-js-src/splashscreen.js
function hide() {
    if (isVisible()) {
        var hideFinishCb = function () {
            WinJS.Utilities.addClass(splashElement, 'hidden');
            splashElement.style.opacity = 1;
            enableUserInteraction();
            exitFullScreen();
        }

        // Color reversion before fading is over looks better:
        revertTitleBarColor();

        // https://issues.apache.org/jira/browse/CB-11751
        // This can occur when we directly replace whole document.body f.e. in a router.
        // Note that you should disable the splashscreen in this case or update a container element instead.
        if (document.getElementById(splashElement.id) == null) {
            hideFinishCb();
            return;
        }

        if (fadeSplashScreen) {
            fadeOut(splashElement, fadeSplashScreenDuration, hideFinishCb);
        } else {
            hideFinishCb();
        }
    }
}
function hide() {
    if (isVisible()) {
        var hideFinishCb = function () {
            WinJS.Utilities.addClass(splashElement, 'hidden');
            splashElement.style.opacity = 1;
            enableUserInteraction();
            exitFullScreen();
        }

        // Color reversion before fading is over looks better:
        revertTitleBarColor();

        // https://issues.apache.org/jira/browse/CB-11751
        // This can occur when we directly replace whole document.body f.e. in a router.
        // Note that you should disable the splashscreen in this case or update a container element instead.
        if (document.getElementById(splashElement.id) == null) {
            hideFinishCb();
            return;
        }

        if (fadeSplashScreen) {
            fadeOut(splashElement, fadeSplashScreenDuration, hideFinishCb);
        } else {
            hideFinishCb();
        }
    }
}
function hide ( ) { if ( isVisible ( ) ) { var hideFinishCb = function ( ) { WinJS . Utilities . addClass ( splashElement , 'hidden' ) ; splashElement . style . opacity = 1 ; enableUserInteraction ( ) ; exitFullScreen ( ) ; } // Color reversion before fading is over looks better: revertTitleBarColor ( ) ; // https://issues.apache.org/jira/browse/CB-11751 // This can occur when we directly replace whole document.body f.e. in a router. // Note that you should disable the splashscreen in this case or update a container element instead. if ( document . getElementById ( splashElement . id ) == null ) { hideFinishCb ( ) ; return ; } if ( fadeSplashScreen ) { fadeOut ( splashElement , fadeSplashScreenDuration , hideFinishCb ) ; } else { hideFinishCb ( ) ; } } }
Removes the extended splash screen if it is currently visible.
Removes the extended splash screen if it is currently visible .