Share via


mixin.addProperty method

Adds a property to the object. The property includes change notification and an ECMAScript 5 property definition .

Syntax

var object = mixin.addProperty(name, value);

Parameters

  • name
    Type: String

    The name of the property to add.

  • value
    Type: Object

    The value of the property.

Return value

Type: Object

This object is returned.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

mixin