Closed cherifGsoul closed 4 years ago
This adds key property to the event emitted by syn.
key
syn
It adds the use of KeyboardEvent constructor in order to pass the key property to the event instance, key property is read-only.
KeyboardEvent
Edit: I updated the code by adding a mapping from the available keycodes to the correct KeyboardEvent key value.
Closes #180
This adds
key
property to the event emitted bysyn
.It adds the use of
KeyboardEvent
constructor in order to pass thekey
property to the event instance,key
property is read-only.Edit: I updated the code by adding a mapping from the available keycodes to the correct
KeyboardEvent
key value.Closes #180