Inheritance
Implemented by
Annotations
  • DomName('KeyboardEvent')

Constants

DOM_KEY_LOCATION_LEFT int

0x01
DOM_KEY_LOCATION_NUMPAD int

0x03
DOM_KEY_LOCATION_RIGHT int

0x02
DOM_KEY_LOCATION_STANDARD int

0x00

Static Methods

internalCreateKeyboardEvent() KeyboardEvent

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})

factory
KeyboardEvent.internal_()

Properties

altKey bool

read-only

read / write, inherited
bubbles bool

read-only, inherited
cancelable bool

read-only, inherited
charCode int

read-only
clipboardData DataTransfer

Access to the system's clipboard data during copy, cut, and paste events.

read-only, inherited
ctrlKey bool

read-only
currentTarget EventTarget

read-only, inherited
defaultPrevented bool

read-only, inherited
detail int

read-only, inherited
eventPhase int

read-only, inherited
hashCode int

read-only, inherited
keyCode int

read-only
keyLocation int

read-only
layer Point

read-only, inherited
location int

read-only
matchingTarget Element

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.

read-only, inherited
metaKey bool

read-only
page Point

read-only, inherited
path List<Node>

This event's path, taking into account shadow DOM.

read-only, inherited
repeat bool

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
shiftKey bool

read-only
target EventTarget

read-only, inherited
timeStamp int

read-only, inherited
type String

read-only, inherited
view WindowBase

read-only, inherited
which int

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

getModifierState(String keyArgument) bool

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
preventDefault() → void

inherited
stopImmediatePropagation() → void

inherited
stopPropagation() → void

inherited
toString() String

Returns a string representation of this object.

inherited