mixin.updateProperty method

Applies to Windows and Windows Phone

Updates a property value and notifies any listeners.

Syntax


mixin.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

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Binding

Library

Base.js

See also

mixin

 

 

Show:
© 2014 Microsoft