WinJS.Binding.expandProperties function

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 WinJS version

WinJS 1.0

Namespace

WinJS.Binding