Promise.removeEventListener method

4 out of 5 rated this helpful - Rate this topic

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.

Remarks


WinJS.Promise.removeEventListener("type", listener);

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS

Library

Base.js

See also

Promise

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.