WinJS.Binding.initializer function

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