Tridi — Keyboard support

This docs is for Tridi v1.x. Read Tridi v2 documentation or how to upgrade to version 2.x

Tridi offers an option to rotate images with keyboard arrows. To enable this set keys option to true.

Once done, Tridi will react to and keys when focused.


  • keys (boolean) — enables / disables keyboard events. Optional, defaults to false
  • focusOnHintClose (boolean) — when set to true, Tridi will automatically set focus on main image once hint on startup is closed



<div id="tridi-mousewheel"></div>


new Tridi({
  element: '#tridi-keys',
  location: './path/to/image/folder',
  format: 'jpg',
  count: 36,
  keys: true

« Back to main page