ToggleSwitch.removeEventListener method

Applies to Windows and Windows Phone

Removes an event handler that the addEventListener method registered.

Syntax


toggleSwitch.removeEventListener(eventName, eventCallback, capture);

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.

capture

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.

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.UI

Library

Ui.js

See also

ToggleSwitch

 

 

Show:
© 2014 Microsoft. All rights reserved.