File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ module Keyboard = {
82
82
})
83
83
@get external altKey : t => bool = "altKey"
84
84
@get external charCode : t => int = "charCode"
85
+ @get external code : t => string = "code"
85
86
@get external ctrlKey : t => bool = "ctrlKey"
86
87
@send
87
88
external getModifierState : (t , string ) => bool = "getModifierState"
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ module Keyboard: {
130
130
@send external persist : t => unit = "persist"
131
131
@get external altKey : t => bool = "altKey"
132
132
@get external charCode : t => int = "charCode"
133
+ @get external code : t => string = "code"
133
134
@get external ctrlKey : t => bool = "ctrlKey"
134
135
@send
135
136
external getModifierState : (t , string ) => bool = "getModifierState"
You can’t perform that action at this time.
0 commit comments