Ensures that the specified function executes only after the DOMContentLoaded event has fired for the current page. The DOMContentLoaded event occurs after the page has been parsed but before all the resources are loaded.
WinJS.Utilities.ready(callback, async).done( /* Your success and error handlers */ );
A function that executes after the DOMContentLoaded event has occurred.
If true, the callback should be executed asynchronously.
A promise that completes after the DOMContentLoaded event has occurred.
Minimum WinJS version