Dart SDK
dart:html
KeyLocation
class
KeyLocation
Constants
Constructors
Constants
STANDARD
LEFT
RIGHT
NUMPAD
MOBILE
JOYSTICK
Constructors
KeyLocation
Defines the standard key locations returned by KeyboardEvent.getKeyLocation.
Constants
int
STANDARD
=
0
const
The event key is not distinguished as the left or right version of the key, and did not originate from the numeric keypad (or did not originate with a virtual key corresponding to the numeric keypad).
int
LEFT
=
1
const
The event key is in the left key location.
int
RIGHT
=
2
const
The event key is in the right key location.
int
NUMPAD
=
3
const
The event key originated on the numeric keypad or with a virtual key corresponding to the numeric keypad.
int
MOBILE
=
4
const
The event key originated on a mobile device, either on a physical keypad or a virtual keyboard.
int
JOYSTICK
=
5
const
The event key originated on a game controller or a joystick on a mobile device.
Constructors
KeyLocation
()