menu
Dart
dart:html
KeyEvent
KeyEvent factory constructor
KeyEvent
brightness_4
brightness_5
description
KeyEvent
constructor
KeyEvent
(
String
type
,
{
Window
?
view
,
bool
canBubble
=
true
,
bool
cancelable
=
true
,
int
keyCode
=
0
,
int
charCode
=
0
,
int
location
=
1
,
bool
ctrlKey
=
false
,
bool
altKey
=
false
,
bool
shiftKey
=
false
,
bool
metaKey
=
false
,
EventTarget
?
currentTarget
}
)
Programmatically create a new KeyEvent (and KeyboardEvent).
Implementation
factory KeyEvent
Dart
dart:html
KeyEvent
KeyEvent factory constructor
KeyEvent class