eventMixin.addEventListener method
Adds an event listener to the control.
Syntax
eventMixin.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: BooleanIf true, initiates capture, otherwise false.
Return value
This method does not return a value.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Utilities |