Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WinJS.Utilities.markDisposable function

Applies to Windows and Windows Phone

Attaches the default dispose API wrapping the dispose implementation to the specified element.

Syntax


WinJS.Utilities.markDisposable(element, disposeImpl);

Parameters

element

Type: HTMLElement

The element to mark as disposable.

disposeImpl

Type: Function

The function containing the element-specific dispose logic, called by the dispose function that markDisposable attaches.

Return value

This function does not return a value.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities

 

 

Show: