addEventListener method

List.addEventListener method

Applies to Windows and Windows Phone

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

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

List

 

 

Show:
© 2017 Microsoft