core
/
dev.fritz2.dom.html
/
Key
js
Key
class
Key
(code:
String
, key:
String
, ctrl:
Boolean
, alt:
Boolean
, shift:
Boolean
, meta:
Boolean
)
Content copied to clipboard
Key
represents a key from
KeyboardEvent
More info
here
Constructors
Functions
Properties
Constructors
Key
Link copied to clipboard
js
fun
Key
(key:
String
)
Content copied to clipboard
Key
Link copied to clipboard
js
fun
Key
(e:
KeyboardEvent
)
Content copied to clipboard
Key
Link copied to clipboard
js
fun
Key
(code:
String
, key:
String
, ctrl:
Boolean
= false, alt:
Boolean
= false, shift:
Boolean
= false, meta:
Boolean
= false)
Content copied to clipboard
Functions
equals
Link copied to clipboard
js
open operator override fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
js
open override fun
hashCode
():
Int
Content copied to clipboard
toString
Link copied to clipboard
js
open override fun
toString
():
String
Content copied to clipboard
Properties
alt
Link copied to clipboard
js
val
alt
:
Boolean
= false
Content copied to clipboard
code
Link copied to clipboard
js
val
code
:
String
Content copied to clipboard
ctrl
Link copied to clipboard
js
val
ctrl
:
Boolean
= false
Content copied to clipboard
key
Link copied to clipboard
js
val
key
:
String
Content copied to clipboard
meta
Link copied to clipboard
js
val
meta
:
Boolean
= false
Content copied to clipboard
shift
Link copied to clipboard
js
val
shift
:
Boolean
= false
Content copied to clipboard