dynamicObservableMixin.updateProperty method
Updates a property value and notifies any listeners.
Syntax
dynamicObservableMixin.updateProperty(name, value).done( /* Your success and error handlers */ );
Parameters
name
Type: StringThe name of the property to update.
value
Type: ObjectThe 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
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Binding |