Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. KeyboardEvent class
KeyboardEvent
description

KeyboardEvent class

An event that describes user interaction with the keyboard.

Thetype of the event identifies what kind of interaction occurred.

See also:

Inheritance
Implementers
Annotations
  • @Native.new("KeyboardEvent")

Constructors

KeyboardEvent(Stringtype, {Window?view,boolcanBubble =true,boolcancelable =true,int?location,int?keyLocation,boolctrlKey =false,boolaltKey =false,boolshiftKey =false,boolmetaKey =false})
Programmatically create a KeyboardEvent.
factory

Properties

altKeybool
no setter
bubblesbool?
no setterinherited
cancelablebool?
no setterinherited
charCodeint
no setter
codeString?
no setter
composedbool?
no setterinherited
ctrlKeybool
no setter
currentTargetEventTarget?
no setterinherited
defaultPreventedbool
no setterinherited
detailint?
no setterinherited
eventPhaseint
no setterinherited
hashCodeint
The hash code for this object.
no setterinherited
isComposingbool?
no setter
isTrustedbool?
no setterinherited
keyString?
no setter
keyCodeint
no setter
locationint
no setter
matchingTargetElement
A pointer to the element whose CSS selector matched within which an eventwas fired. If this Event was not associated with any Event delegation,accessing this value will throw anUnsupportedError.
no setterinherited
metaKeybool
no setter
pathList<EventTarget>
no setterinherited
repeatbool?
no setter
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited
shiftKeybool
no setter
sourceCapabilitiesInputDeviceCapabilities?
no setterinherited
targetEventTarget?
no setterinherited
timeStampnum?
no setterinherited
typeString
no setterinherited
viewWindowBase?
no setterinherited
whichint?
no setter

Methods

composedPath()List<EventTarget>
inherited
getModifierState(StringkeyArg)bool
noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preventDefault()→ void
inherited
stopImmediatePropagation()→ void
inherited
stopPropagation()→ void
inherited
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited

Constants

DOM_KEY_LOCATION_LEFT→ constint
DOM_KEY_LOCATION_NUMPAD→ constint
DOM_KEY_LOCATION_RIGHT→ constint
DOM_KEY_LOCATION_STANDARD→ constint
  1. Dart
  2. dart:html
  3. KeyboardEvent class
dart:html library

[8]ページ先頭

©2009-2025 Movatter.jp