Windows Dev Center

ILayout.prepareHeader method

Applies to Windows only

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

Syntax


iLayout.prepareHeader(element);

Parameters

element

Type: HTMLElement

The element that represents a header in the data source.

Return value

This method does not return a value.

Remarks

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

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

See also

ILayout

 

 

Show:
© 2015 Microsoft