Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

devicemotion | ondevicemotion event

Dispatched whenever motion in the host device occurs.

IE11

Syntax

HTML Attribute <element ondevicemotion = "handler(event)">
addEventListener Method object.addEventListener("devicemotion", handler, useCapture)

Event information

SynchronousYes
BubblesNo
CancelableNo

Event handler parameters

handler [in]

Type: Function

Function to execute when the event is dispatched

Standards information

See also

Window

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.