class
DeviceMotionEvent

(Not documented.)

Annotations
  • DocsEditable()
  • DomName('DeviceMotionEvent')
  • Experimental()
Extends

Properties

DeviceAcceleration acceleration
read-only
DeviceAcceleration accelerationIncludingGravity
read-only
double interval
read-only
DeviceRotationRate rotationRate
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 bubbles
read-only , inherited
bool cancelable
read-only , inherited
DataTransfer clipboardData
read-only , inherited
Access to the system's clipboard data during copy, cut, and paste events.
EventTarget currentTarget
read-only , inherited
bool defaultPrevented
read-only , inherited
int eventPhase
read-only , inherited
List<Node> path
read-only , inherited
This event's path, taking into account shadow DOM.
EventTarget target
read-only , inherited
int timeStamp
read-only , inherited
String type
read-only , inherited

Methods

initDeviceMotionEvent(String type, bool bubbles, bool cancelable, DeviceAcceleration acceleration, DeviceAcceleration accelerationIncludingGravity, DeviceRotationRate rotationRate, num interval) → void
preventDefault() → void
inherited
stopImmediatePropagation() → void
inherited
stopPropagation() → void
inherited