Class: ExtendedSplash

WinJSContrib.UI. ExtendedSplash

This control displays a custom splash screen. It is primarily focused on WinRT apps but it works quite well in cordova applications (in that case you must add WinJSContrib.ui.crossplatform.js)

new ExtendedSplash(element, options)

Parameters:
Name Type Description
element HTMLElement

DOM element containing the control

options Object
Source:
Example

Methods

defaultSplashContent(text) → {string}

build html content for splash screen

Parameters:
Name Type Description
text string

text displayed on splash

Source:
Returns:

HTML content

Type
string

hide() → {WinJS.Promise}

hide splash screen

Source:
Returns:

splash screen removal promise

Type
WinJS.Promise

show(dataLoadPromise, arg) → {WinJS.Promise}

show splash screen during the execution of a promise. After the promise, splash screen will NOT auto-hide

Parameters:
Name Type Description
dataLoadPromise WinJS.Promise

promise covered by splash screen

arg Object

application init arguments

Source:
Returns:

completion promise

Type
WinJS.Promise