dojo / core

:rocket: Dojo 2 - language helpers and utilities.
http://dojo.io
Other
213 stars 58 forks source link

Move `widget/keys` module to `core`? #322

Closed msssk closed 7 years ago

msssk commented 7 years ago

Enhancement

Should dojo/core include a keys module similar to Dojo 1's dojo/keys?

The Dojo 2 ecosystem would definitely benefit from such a module, but there's some question of which package it should be in.

Providing it in dojo/core makes it available to all Dojo-based development, including non-widget UIs and cli apps.

The KeyboardEvent.key property is widely supported - we should match it and follow the W3 spec for key values.

kitsonk commented 7 years ago

I am afraid at this point we need to mature our user input and handling. Right now I don't think it makes sense to migrate it into core, but we can re-evaluate in the future if required. Closing for now.