Applies declarative control binding to all elements, starting at the specified root element.
Important This function processes all the elements that are currently on the page. For security reasons, you should not call this function on content that has been added from an external source.
For more information about when to use this function, see Quickstart: Adding WinJS controls and styles.
The element at which to start applying the binding. If this parameter is not specified, the binding is applied to the entire document.
A promise that is fulfilled when binding has been applied to all the controls.
The following code shows how to use this function.
Minimum supported client
|Windows 8 [Windows Store apps only]|
Minimum supported server
|Windows Server 2012 [Windows Store apps only]|
Build date: 12/5/2012