We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0334f13 commit aeb9045Copy full SHA for aeb9045
src/ReactEvent.res
@@ -82,6 +82,7 @@ module Keyboard = {
82
})
83
@get external altKey: t => bool = "altKey"
84
@get external charCode: t => int = "charCode"
85
+ @get external code: t => string = "code"
86
@get external ctrlKey: t => bool = "ctrlKey"
87
@send
88
external getModifierState: (t, string) => bool = "getModifierState"
src/ReactEvent.resi
@@ -130,6 +130,7 @@ module Keyboard: {
130
@send external persist: t => unit = "persist"
131
132
133
134
135
136
0 commit comments