Share via


mixin.notify method

Notifies listeners that a property value was updated.

Syntax

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

    The new value for the property.

  • oldValue
    Type: String

    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

mixin