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

import"DeviceOrientationEvent.idl";

Inheritance diagram for DeviceOrientationEvent:
Event

Public Member Functions

void initDeviceOrientationEvent (optional DOMString type="", optional boolean bubbles=false, optional boolean cancelable=false, optional unrestricted double? alpha=null, optional unrestricted double? beta=null, optional unrestricted double? gamma=null, optional boolean? absolute=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 unrestricted double alpha
 
readonly attribute unrestricted double beta
 
readonly attribute unrestricted double gamma
 
readonly attribute boolean absolute
 
- 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

◆ initDeviceOrientationEvent()

void DeviceOrientationEvent::initDeviceOrientationEvent ( optional DOMString  type = "",
optional boolean  bubbles = false,
optional boolean  cancelable = false,
optional unrestricted double?  alpha = null,
optional unrestricted double?  beta = null,
optional unrestricted double?  gamma = null,
optional boolean absolute = null 
)

Member Data Documentation

◆ absolute

readonly attribute boolean DeviceOrientationEvent::absolute

◆ alpha

readonly attribute unrestricted double DeviceOrientationEvent::alpha

◆ beta

readonly attribute unrestricted double DeviceOrientationEvent::beta

◆ gamma

readonly attribute unrestricted double DeviceOrientationEvent::gamma

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