Not documented.

Annotations
  • DomName('KeyboardEvent')
Extends

Constants

int DOM_KEY_LOCATION_LEFT = 0x01
const
int DOM_KEY_LOCATION_NUMPAD = 0x03
const
int DOM_KEY_LOCATION_RIGHT = 0x02
const
int DOM_KEY_LOCATION_STANDARD = 0x00
const

Properties

bool altKey
read-only
bool bubbles
read-only, inherited
bool cancelable
read-only, inherited
int charCode
read-only
DataTransfer clipboardData
read-only, inherited
Access to the system's clipboard data during copy, cut, and paste events.
bool ctrlKey
read-only
EventTarget currentTarget
read-only, inherited
bool defaultPrevented
read-only, inherited
int detail
read-only, inherited
int eventPhase
read-only, inherited
int keyCode
read-only
int keyLocation
read-only
Point layer
read-only, inherited
int location
read-only
Element matchingTarget
read-only, inherited
A pointer to the element whose CSS selector matched within which an event was fired. If this Event was not associated with any Event delegation, accessing this value will throw an UnsupportedError.
bool metaKey
read-only
Point page
read-only, inherited
List<Node> path
read-only, inherited
This event's path, taking into account shadow DOM.
bool repeat
read-only
bool shiftKey
read-only
EventTarget target
read-only, inherited
int timeStamp
read-only, inherited
String type
read-only, inherited
WindowBase view
read-only, inherited
int which
read-only, inherited

Constructors

KeyboardEvent(String type, {Window view, bool canBubble: true, bool cancelable: true, int keyLocation: 1, bool ctrlKey: false, bool altKey: false, bool shiftKey: false, bool metaKey: false})

Methods

getModifierState(String keyArgument) → bool
preventDefault() → void
inherited
stopImmediatePropagation() → void
inherited
stopPropagation() → void
inherited