empty function

WinJS.Utilities.empty function

Applies to Windows and Windows Phone

Removes all the child nodes from the specified element.

Syntax


var htmlElement = WinJS.Utilities.empty(element);

Parameters

element

Type: DOMElement

The element.

Return value

Type: HTMLElement

The element.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities

 

 

Show:
© 2016 Microsoft