stable (1.2) latest (tip-of-tree) v8-inspector (node) Home Domains Accessibility Animation ApplicationCache CSS CacheStorage Console DOM DOMDebugger DOMStorage Database Debugger DeviceOrientation Emulation HeapProfiler IO IndexedDB Input Inspector LayerTree Log Memory Network Page Profiler Rendering Runtime Schema Security ServiceWorker Storage SystemInfo Target Tethering Tracing
Chrome Debugging Protocol Viewer - latest (tip-of-tree)

DeviceOrientation Domain

Experimental

Methods

DeviceOrientation. setDeviceOrientationOverride

Overrides the Device Orientation.

Parameters
alpha
number Mock alpha
beta
number Mock beta
gamma
number Mock gamma

DeviceOrientation. clearDeviceOrientationOverride

Clears the overridden Device Orientation.