A layout with custom behavior for navigating between items with the keyboard arrow keys, page up, page down, home, and end.

Available since

1.0.0

.

Methods

findNextKeyboardIndex(startIndex:Int, event:KeyboardEvent, wrapArrowKeys:Bool, items:Array<DisplayObject>, indicesToSkip:Array<Int>, viewPortWidth:Float, viewPortHeight:Float):Int

Based on a starting index and the keyboard event, determine the next index. May return the starting index unchanged.

Available since

1.0.0

.