Skip to content

Commit

Permalink
Merge pull request #626 from hugopeixoto/patch-1
Browse files Browse the repository at this point in the history
Fix `isKey` import in documentation usage
  • Loading branch information
SergeAstapov authored Apr 22, 2022
2 parents a7c1e42 + 2850e82 commit 98a9f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/app/templates/usage.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ considered to match a specified key-combo will also be exposed.
It will be available (and used internally) as an `isKey` JS function:
```js
import { isKey } from 'ember-keyboard';
import isKey from 'ember-keyboard/utils/is-key';
function onEvent(ev) {
if (isKey('keydown:alt+x', ev)) {
Expand Down

0 comments on commit 98a9f7a

Please sign in to comment.