Skip to content

Commit

Permalink
Dialog and Alert roles can host keyboard listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebeach committed Nov 18, 2018
1 parent 6596435 commit 011f8d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Expand Up @@ -103,7 +103,9 @@ module.exports = {
'onKeyDown',
'onKeyUp',
],
alert: ['onKeyUp', 'onKeyDown', 'onKeyPress'],
body: ['onError', 'onLoad'],
dialog: ['onKeyUp', 'onKeyDown', 'onKeyPress'],
iframe: ['onError', 'onLoad'],
img: ['onError', 'onLoad'],
},
Expand Down

0 comments on commit 011f8d9

Please sign in to comment.