共用方式為


DOMEventMixin.removeEventListener method

Removes an event listener from the control.

Syntax

domEventMixin.removeEventListener(type, listener, useCapture);

Parameters

  • type
    Type: String

    The type (name) of the event.

  • listener
    Type: Function

    The listener to remove.

  • useCapture
    Type: Boolean

    true to initiate capture; otherwise, false.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

DOMEventMixin