WinJS.Utilities.empty function
Removes all the child nodes from the specified element.
Syntax
var htmlElement = WinJS.Utilities.empty(element);
Parameters
element
Type: DOMElementThe element.
Return value
Type: HTMLElement
The element.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Utilities |