WinJS.Binding.unbind function

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

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

Syntax

WinJS.Binding.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

Namespace

WinJS.Binding

Library

Base.js

 

 

Build date: 2/10/2012