다음을 통해 공유


List.notify method

Notifies listeners that a property value was updated.

Syntax

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

List