Not documented.
- Annotations
- DocsEditable()
- DomName('DeviceMotionEvent')
- Experimental()
- Extends
- Object
- Event
- DeviceMotionEvent
Properties
- DeviceAcceleration acceleration
-
read-only
- DeviceAcceleration accelerationIncludingGravity
-
read-only
- bool bubbles
-
read-only, inherited
- bool cancelable
-
read-only, inherited
- DataTransfer clipboardData
-
read-only, inheritedAccess 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
- double interval
-
read-only
- Element matchingTarget
-
read-only, inheritedA 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
. - List<Node> path
-
read-only, inheritedThis event's path, taking into account shadow DOM.
- DeviceRotationRate rotationRate
-
read-only
- 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