WinJS.UI.process function

Applies declarative control binding to the specified element.

Syntax

WinJS.UI.process(element);

Parameters

  • element
    Type: DOMElement

    The element to bind.

Return value

A promise that is fulfilled after the control is activated. The value of the promise is the control that is attached to element.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI