Partager via


QueryCollection.removeEventListener method

Unregisters the listener for the specified event on all the elements in the collection.

Syntax

var queryCollection = queryCollection.removeEventListener(eventType, listener, capture);

Parameters

  • eventType
    Type: string

    The name of the event.

  • listener
    Type: function

    The event handler function.

  • capture
    Type: Boolean

    true if capture == true; otherwise, false.

Return value

Type: QueryCollection

This QueryCollection object.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities

See also

QueryCollection