new ExtendedSplash(element, options)
Parameters:
Name | Type | Description |
---|---|---|
element |
HTMLElement | DOM element containing the control |
options |
Object |
Example
Methods
-
defaultSplashContent(text) → {string}
-
build html content for splash screen
Parameters:
Name Type Description text
string text displayed on splash
Returns:
HTML content
- Type
- string
-
hide() → {WinJS.Promise}
-
hide splash screen
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
Returns:
completion promise
- Type
- WinJS.Promise