hide: function()

in src/browser/SplashScreenProxy.js [90:109]


    hide: function () {
        if (localSplash) {
            var innerLocalSplash = localSplash;
            localSplash = null;
            window.removeEventListener('resize', onResize, false);

            innerLocalSplash.style.opacity = '0';
            innerLocalSplash.style['-webkit-transition'] = 'opacity 1s ease-in-out';
            innerLocalSplash.style['-moz-transition'] = 'opacity 1s ease-in-out';
            innerLocalSplash.style['-ms-transition'] = 'opacity 1s ease-in-out';
            innerLocalSplash.style['-o-transition'] = 'opacity 1s ease-in-out';

            window.setTimeout(function () {
                document.body.removeChild(innerLocalSplash);
                innerLocalSplash = null;
            }, 1000);
        } else {
            SplashScreen.shouldHideImmediately = true;
        }
    }