Adds an event listener.
Syntax
list.addEventListener(eventName, eventCallback);
Parameters
- eventName
-
Type: String
The event name.
- eventCallback
-
Type: Function
The event handler function to associate with this event.
Return value
This method does not return a value.
Requirements
|
Namespace |
WinJS.Binding |
|---|---|
|
Library |
|
See also
Build date: 12/5/2012