Share via


ILayout.layoutItem method

This API is no longer supported. Starting with the Windows Library for JavaScript 2.0 Preview, use the ILayout2 interface. Positions the specified item.

Syntax

iLayout.layoutItem(itemIndex, element);

Parameters

  • itemIndex
    Type: Integer

    The index of the item in the data source.

  • element
    Type: HTMLElement

    The element to render for the item.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ILayout