WinJS.Binding.initializer function

Applies to Windows and Windows Phone

Marks a custom initializer function as being compatible with declarative data binding.

Syntax


var object = WinJS.Binding.initializer(customInitializer);

Parameters

customInitializer

Type: Object

The custom initializer to be marked as compatible with declarative data binding.

Return value

Type: Object

The input customInitializer.

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

Base.js

 

 

Show:
© 2014 Microsoft