observableMixin.notify method

Applies to Windows and Windows Phone

Notifies listeners that a property value was updated.

Syntax


observableMixin.notify(name, newValue, oldValue).done( /* Your success and error handlers */ );

Parameters

name

Type: String

The name of the property that is being updated.

newValue

Type: Object

The new value for the property.

oldValue

Type: Object

The old value for the property.

Return value

Type: Promise

A promise that is completed when the notifications are complete.

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

observableMixin

 

 

Show:
© 2014 Microsoft. All rights reserved.