Bagikan melalui


List.addEventListener method

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