Comments (1)
Hi @PuruVijay14, currently keyBindings
getter needs to be on the instance for this to work.
Also, the default keyEventTarget
will be the element implementing the behavior, which means that the keydown
events will be triggered only if the element is focused (and focusable). Either change the keyEventTarget
to be document
, or make your st-carousal
focusable (tabindex=0
)
In this example I've overridden the default value of keyEventTarget
: http://jsbin.com/nalehed/1/edit?html,output
from iron-a11y-keys-behavior.
Related Issues (20)
- Please improve documentation.
- 'esc' not matched for escape key in Chrome Canary, breaking menus HOT 2
- add support for "only" modifier HOT 3
- Autofill causing exceptions HOT 2
- handle keyEventTarget = null
- need to check for null keyEventTarget
- 'KeyboardEvent.keyIdentifier' is deprecated warning in Chrome HOT 6
- demo's tilde key not working on mac french keyboard
- KeyBinding erroneously fired when modifiers are pressed HOT 1
- _unlistenKeyEventListener fails when _boundKeyHandlers is undefined HOT 4
- Numpad "+", "-" and "/" not detected in IE/Edge HOT 1
- this.behaviors property is not available in native 2.0 class-based element HOT 1
- Using iron-a11y-keys-behavior on native elements? HOT 1
- Bug on with Polymer 2 (key events aren't catched) HOT 2
- IronA11yKeysMixin
- Can't listen for alt, meta, or shift
- Dynamically add key binding in polymer
- Polymer 3.2: TypeError cannot convert null to object HOT 9
- Uncaught TypeError: Cannot convert undefined or null to object
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iron-a11y-keys-behavior.