ember-keyboard

by adopted-ember-addons

adopted-ember-addons /ember-keyboard

An Ember.js addon for the painless support of keyboard events

134 Stars 39 Forks Last release: 21 days ago (v6.0.1) MIT License 391 Commits 56 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

npm version Build Status

ember-keyboard

ember-keyboard
, an Ember addon for the painless support of keyboard events.

Features

  • Dynamic priority levels allow you to specify which components respond first to key events and under what circumstances. (Thanks to
    ember-key-responder
    for the inspiration)
  • Human-readable key-mappings. (Thanks to
    ember-keyboard-service
    for the inspiration)
  • Glimmer-friendly template declarations for keyboard shortcuts
  • Support for
    keyup
    and
    keydown
    , as well as the modifier keys:
    ctrl
    ,
    alt
    ,
    shift
    , and
    meta
    .

Compatibility

  • ember-keyboard 6.x requires Ember 3.8 or higher
  • For use with Ember 2.0 up to 3.8, use ember-keyboard 5.x.

Accessibility Considerations

In order to avoid adding keyboard shortcuts to your application that are already in use by assistive technology, please review the existing keyboard shortcuts and gestures available today: https://dequeuniversity.com/screenreaders/.

Installation

ember install ember-keyboard

Documentation & Demo

You can find interactive documentation here.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.