webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
DeviceMotionEvent Interface Reference

import"DeviceMotionEvent.idl";

Inheritance diagram for DeviceMotionEvent:
Event

Public Member Functions

void initDeviceMotionEvent (optional DOMString type="", optional boolean bubbles=false, optional boolean cancelable=false, optional Acceleration? acceleration=null, optional Acceleration? accelerationIncludingGravity=null, optional RotationRate? rotationRate=null, optional unrestricted double? interval=null)
 
- Public Member Functions inherited from Event
sequence< NodecomposedPath ()
 
void stopPropagation ()
 
void preventDefault ()
 
void initEvent (DOMString type, optional boolean bubbles=false, optional boolean cancelable=false)
 
void stopImmediatePropagation ()
 

Public Attributes

readonly attribute Acceleration acceleration
 
readonly attribute Acceleration accelerationIncludingGravity
 
readonly attribute RotationRate rotationRate
 
readonly attribute unrestricted double interval
 
- Public Attributes inherited from Event
EventType Type
 
union {
   MoveEvent   Move
 
   SizeEvent   Size
 
   KeyEvent   Key
 
   MouseMoveEvent   MouseMove
 
   MouseButtonEvent   MouseButton
 
   MouseWheelEvent   MouseWheel
 
}; 
 
const unsigned short NONE = 0
 
const unsigned short CAPTURING_PHASE = 1
 
const unsigned short AT_TARGET = 2
 
const unsigned short BUBBLING_PHASE = 3
 
readonly attribute DOMString type
 
readonly attribute EventTarget target
 
readonly attribute EventTarget currentTarget
 
readonly attribute unsigned short eventPhase
 
readonly attribute boolean bubbles
 
readonly attribute boolean cancelable
 
readonly attribute boolean composed
 
readonly attribute DOMTimeStamp timeStamp
 
readonly attribute boolean defaultPrevented
 
readonly attribute boolean isTrusted
 
readonly attribute EventTarget srcElement
 
attribute boolean returnValue
 
attribute boolean cancelBubble
 

Additional Inherited Members

- Public Types inherited from Event
enum  EventType {
  EVENT_CLOSED, EVENT_MOVED, EVENT_RESIZED, EVENT_LOST_FOCUS,
  EVENT_GAINED_FOCUS, EVENT_TEXT_ENTERED, EVENT_KEY_PRESSED, EVENT_KEY_RELEASED,
  EVENT_MOUSE_WHEEL_MOVED, EVENT_MOUSE_BUTTON_PRESSED, EVENT_MOUSE_BUTTON_RELEASED, EVENT_MOUSE_MOVED,
  EVENT_MOUSE_ENTERED, EVENT_MOUSE_LEFT, EVENT_TEST
}
 

Member Function Documentation

◆ initDeviceMotionEvent()

void DeviceMotionEvent::initDeviceMotionEvent ( optional DOMString  type = "",
optional boolean  bubbles = false,
optional boolean  cancelable = false,
optional Acceleration acceleration = null,
optional Acceleration accelerationIncludingGravity = null,
optional RotationRate rotationRate = null,
optional unrestricted double?  interval = null 
)

Member Data Documentation

◆ acceleration

readonly attribute Acceleration DeviceMotionEvent::acceleration

◆ accelerationIncludingGravity

readonly attribute Acceleration DeviceMotionEvent::accelerationIncludingGravity

◆ interval

readonly attribute unrestricted double DeviceMotionEvent::interval

◆ rotationRate

readonly attribute RotationRate DeviceMotionEvent::rotationRate

The documentation for this interface was generated from the following file: