Aracılığıyla paylaş


ILayout.prepareItem method

This API is no longer supported. Starting with the Windows Library for JavaScript 2.0 Preview, use the ILayout2 interface. Called when an item is created by a renderer.

Syntax

iLayout.prepareItem(element);

Parameters

  • element
    Type: HTMLElement

    An element that represents an item in the data source.

Return value

This method does not return a value.

Remarks

Use this method to apply layout-specific styling to the item.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ILayout