WinJS.Binding.addProperty function

Adds a property with change notification to this object, including a ECMAScript5 property definition.

Syntax


var object = WinJS.Binding.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

Namespace

WinJS.Binding

Library

Base.js

 

 

Build date: 12/5/2012

Show:
© 2014 Microsoft