Freigeben über


WinJS.Utilities.disposeSubTree function

Disposes all first-generation disposable elements that are descendents of the specified element. The specified element itself is not disposed.

Syntax

WinJS.Utilities.disposeSubTree(element);

Parameters

  • element
    Type: HTMLElement

    The root element whose sub-tree is to be disposed.

Return value

This function does not return a value.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities