Crates.io | uievents-code |
lib.rs | uievents-code |
version | 0.1.2 |
source | src |
created_at | 2023-02-11 11:44:40.257182 |
updated_at | 2023-02-12 09:10:09.378589 |
description | Constants for the `KeyboardEvent.code` property. |
homepage | |
repository | https://github.com/JohnScience/ui-events-code |
max_upload_size | |
id | 782467 |
size | 41,645 |
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)
.
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 the KeyboardEventCode
enum with all
the known constants.