Share via


ToolBar.removeEventListener method

Removes an event listener that the addEventListener method registered for the ToolBar.

Syntax

toolBar.removeEventListener(type, listener, useCapture);

Parameters

  • type
    Type: string

    The name (type) of the event that the event listener is registered for.

  • listener
    Type: string

    The listener or event handler function to remove.

  • useCapture
    Type: boolean

    Set to true to remove the capturing phase listener or set to false to remove the bubbling phase listener.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

ToolBar