Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@vaadin/keyboard-direction-mixin

vaadin761Apache-2.00.1.7TypeScript support: included

This package provides KeyboardDirectionMixin that does the following:

readme

@vaadin/keyboard-direction-mixin

This package provides KeyboardDirectionMixin that does the following:

  1. Add keydown listener on the element

  2. Navigate through items via arrow keys, <kbd>Home</kbd> and <kbd>End</kbd>

The mixin accepts a class that must apply SlottedItemsMixin.