Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds an event listener to the control.
Syntax
domEventMixin.addEventListener(type, listener, useCapture);
Parameters
type
Type: StringThe type (name) of the event.
listener
Type: FunctionThe listener to invoke when the event gets raised.
useCapture
Type: Booleantrue to initiate capture; otherwise, false.
Return value
This method does not return a value.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |