addProperty method
Collapse the table of content
Expand the table of content

mixin.addProperty method

Applies to Windows and Windows Phone

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

 

 

Show:
© 2016 Microsoft