Skip to content

Keyboard handlers and API for enabling/disabling #234

@oscarlorentzon

Description

@oscarlorentzon

Currently there is a keyboard component for navigation according to spatial and sequence navigation arrows.

There could be other navigation forms for the keyboard component‚ like zooming and panning.

The possible actions as well as the keys / combinations of keys for those actions should be determined.

When implemented each action category should be a separate handler that can be enabled / disabled like for the mouse component.

Potential handlers (initial suggestion):

Spatial navigation
Sequence navigation + play/stop
Zoom
Pan
Reset view to zero zoom and center at [0.5, 0.5]

Potentially a KeyboardService should be created to ensure that only a single event listener is registered.

The available keyboard commands should also be listed in the docs for clarity.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions