PolymerElements / iron-a11y-keys-behavior

A behavior that enables keybindings for greater a11y
24 stars 41 forks source link

IronA11yKeysMixin #79

Closed coreyfarrell closed 6 years ago

coreyfarrell commented 7 years ago

Description

Add support for non-legacy key bindings mixin.

Expected ES6 API

static get keyBindings() should be used to configure key bindings.

Actual ES6 API

get keyBindings() is used, results in pollution of the instance namespace. Prevents defining keyBindings at multiple levels of inheritance.

Pull Request

https://github.com/PolymerElements/iron-a11y-keys-behavior/pull/70

Sorry I did this backwards. I'm currently using the repo referenced by the pull request. It hasn't been updated in a while so it currently conflicts. I'll get around to updating it but since I'm not having any trouble with keybindings in my app it's not very high priority (unless the PR will get attention).