WinJS.Utilities.markDisposable function

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: