Package-level declarations

Types

Link copied to clipboard
open external class DeviceMotionEvent(val type: EventType<DeviceMotionEvent>, init: DeviceMotionEventInit = definedExternally) : Event

The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. Available only in secure contexts.

Link copied to clipboard
sealed external interface DeviceMotionEventAcceleration

Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
external interface DeviceMotionEventInit : EventInit
Link copied to clipboard
sealed external interface DeviceMotionEventRotationRate

Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
open external class DeviceOrientationEvent(val type: EventType<DeviceOrientationEvent>, init: DeviceOrientationEventInit = definedExternally) : Event

The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. Available only in secure contexts.

Link copied to clipboard

Properties

Link copied to clipboard