Promise.removeEventListener method

Applies to Windows and Windows Phone

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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS

Library

Base.js

See also

Promise

 

 

Show:
© 2014 Microsoft