observableMixin.unbind method
Removes one or more listeners from the notification list for a given property.
Syntax
var object = observableMixin.unbind(name, action);
Parameters
name
Type: StringThe name of the property to unbind. If this parameter is omitted, all listeners for all events are removed.
action
Type: FunctionThe 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 WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Binding |