Fork me on GitHub

OpenSeadragon 2.2.1

example: keyboard navigation

The viewer supports keyboard operations to complement the drag and scroll (zoom) mouse interactions.

To interact via the keyboard, the focus must be on the viewer. In this example the focus is set using document.getElementById('contentDiv').querySelector('.openseadragon-canvas').focus();

You can use the following keys to navigate:

Keyboard Navigation

Keyboard Navigation