notify method
Collapse the table of content
Expand the table of content

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 WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

observableMixin

 

 

Show:
© 2016 Microsoft