Freigeben über


mixin.unbind method

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

Syntax

var object = mixin.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 WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

mixin