CellSpanningLayout.getAdjacent method

Applies to Windows only

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

Syntax


var object = cellSpanningLayout.getAdjacent(currentItem, pressedKey);

Parameters

currentItem

Type: Object

An object that describes the current item. It has these properties:

index

The index of the current item.

type

An WinJS.UI.ObjectType value that specifies whether the item is an item or a group header.

pressedKey

Type: WinJS.Utilities.Key

The key that was pressed.

Return value

Type: Object

An object that describes the next item that should receive focus. It has these properties:

TermDescription

index

The index of the next item.

type

An WinJS.UI.ObjectType value that specifies whether the item is an item or a group header.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

CellSpanningLayout

 

 

Show:
© 2014 Microsoft