Windows Dev Center

WinJS.Binding.expandProperties function

Applies to Windows and Windows Phone

Wraps the specified object so that all its properties are instrumented for binding. This is meant to be used in conjunction with the binding mixin.

Syntax


var object = WinJS.Binding.expandProperties(shape);

Parameters

shape

Type: object

The specification for the bindable object.

Return value

Type: Object

An object with a set of properties all of which are wired for binding.

Remarks

For more information, see How to bind a complex object.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Binding

Library

Winjs.js

 

 

Show:
© 2015 Microsoft