Share via


WinJS.Utilities.empty function

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