Share via


Pivot.removeEventListener method

Removes an event handler that the addEventListener method registered.

Syntax

pivot.removeEventListener(eventName, eventCallback, useCapture);

Parameters

  • eventName
    Type: String

    The name of the event that the event handler is registered for.

  • eventCallback
    Type: Function

    The event handler function to remove.

  • useCapture
    Type: Boolean

    Set to true to remove the capturing phase event handler; set to false to remove the bubbling phase event handler.

Return value

This method does not return a value.

Remarks

Note   For Windows, this member is available starting with the WinJS 3.0 library. The WinJS 3.0 library is available via CDN, package manager, or website download but currently not through the Windows Store as a Windows Store framework package.

 

Requirements

Minimum WinJS version

Phone WinJS 2.1

Namespace

WinJS.UI

See also

Pivot