Removes an event listener from the control.
Syntax
promise.removeEventListener(eventType, listener, capture);
Parameters
- eventType
-
Type: string
The type (name) of the event.
- listener
-
Type: function
The listener to remove.
- capture
-
Type: Boolean
Specifies whether or not to initiate capture.
Return value
This method does not return a value.
Remarks
WinJS.Promise.removeEventListener("type", listener);
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Namespace |
WinJS |
|
Library |
|
See also
Build date: 12/5/2012