WinJS.Binding.updateProperty function

Updates a property value and notifies any listeners.

Syntax

WinJS.Binding.updateProperty(name, value).done( /* Your success and error handlers */ );

Parameters

  • name
    Type: String

    The name of the property to update.

  • value
    Type: Object

    The new value of the property.

Return value

Type: Promise

A promise that completes when the notifications for this property change have been processed. If multiple notifications are coalesced, the promise may be canceled or the value of the promise may be updated. The fulfilled value of the promise is the new value of the property for which the notifications have been completed.

Requirements

Namespace

WinJS.Binding

Library

Base.js

 

 

Build date: 12/5/2012