Promise.removeEventListener method

Removes an event listener from the control.

Syntax

promise.removeEventListener(eventType, listener, capture);

Parameters

  • eventType
    Type: string

    The type (name) of the event.

  • listener
    Type: function

    The listener to remove.

  • capture
    Type: Boolean

    Specifies whether or not to initiate capture.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Promise

See also

Promise