getAdjacent method

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 WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

CellSpanningLayout

 

 

Show:
© 2017 Microsoft