3 releases
0.1.2 | Feb 12, 2023 |
---|---|
0.1.1 | Feb 12, 2023 |
0.1.0 | Feb 11, 2023 |
#22 in #keyboard-events
Used in 2 crates
30KB
429 lines
uievents-code
Crate offering constants for the KeyboardEvent.code
property, according to
the latest (as of 11 February, 2023) W3C Candidate Recommendation, 01 June 2017.
When using web_sys
, you can obtain the value of the KeyboardEvent.code
property from web_sys::KeyboardEvent::code(&self)
.
Features
legacy
(disabled by default) - enables constants for legacy keys.non_standard_intl
(disabled by default) - enables constants for non-standard. keys on international keyboards.enum
(disabled by default) - enables theKeyboardEventCode
enum with all the known constants.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~240KB