Skip to main content
WinJS.Utilities.disposeSubTree function

Applies to Windows and Windows Phone

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 supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Utilities

Library

Base.js