Layout.getAdjacent method

This method supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

Syntax


layout.getAdjacent(index, element, direction).done( /* Your success and error handlers */ );

Parameters

index

Type: Number

The position of a specified item in a data source.

element

Type: Object

direction

Type: Number

Indicates navigation direction.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

Library

Ui.js

See also

Layout

 

 

Build date: 12/5/2012

Show:
© 2014 Microsoft. All rights reserved.