List.unbind method

Applies to Windows and Windows Phone

Removes one or more listeners from the notification list for a given property.

Syntax


var object = list.unbind(name, action);

Parameters

name

Type: String

The name of the property to unbind. If this parameter is omitted, all listeners for all events are removed.

action

Type: Function

The function to remove from the listener list for the specified property. If this parameter is omitted, all listeners are removed for the specific property.

Return value

Type: Object

This object is returned.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Binding

Library

Base.js

See also

List

 

 

Show:
© 2014 Microsoft