Dart API Reference
dart:html
DeviceMotionEvent
DeviceMotionEvent
class
Annotated by:
DocsEditable()
DomName('DeviceMotionEvent')
Experimental()
Extends:
Event
Object
Instance Properties
acceleration
DeviceAcceleration
read-only
accelerationIncludingGravity
DeviceAcceleration
read-only
interval
double
read-only
rotationRate
DeviceRotationRate
read-only
matchingTarget
Element
Inherited
read-only
bubbles
bool
Inherited
read-only
cancelable
bool
Inherited
read-only
clipboardData
DataTransfer
Inherited
read-only
currentTarget
EventTarget
Inherited
read-only
defaultPrevented
bool
Inherited
read-only
eventPhase
int
Inherited
read-only
path
List
<
Node
>
Inherited
read-only
target
EventTarget
Inherited
read-only
timeStamp
int
Inherited
read-only
type
String
Inherited
read-only
Instance Methods
initDeviceMotionEvent
(
String
type
,
bool
bubbles
,
bool
cancelable
,
DeviceAcceleration
acceleration
,
DeviceAcceleration
accelerationIncludingGravity
,
DeviceRotationRate
rotationRate
,
num
interval
) →
void
preventDefault
Inherited
( ) →
void
stopImmediatePropagation
Inherited
( ) →
void
stopPropagation
Inherited
( ) →
void