Skip to main content
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 WinJS version

WinJS 1.0

Namespace

WinJS.Binding