Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 3.11 KB

File metadata and controls

53 lines (38 loc) · 3.11 KB
title Simulate device orientation with the Sensors tool
description Simulate device orientation using the Orientation section of the Sensors tool.
author MSEdgeTeam
ms.author msedgedevrel
ms.topic conceptual
ms.prod microsoft-edge
ms.date 05/04/2021

Simulate device orientation with the Sensors tool

Simulate different device orientations from within DevTools.

  1. Press Ctrl+Shift+P (Windows, Linux) or Command+Shift+P (macOS) to open the Command Menu.

    The Command Menu.

  2. Type sensors, select Show Sensors, and then press Enter. The Sensors tool opens in the bottom of the DevTools window.

  3. From the Orientation list, select one of the preset orientations, such as Portrait upside down, or select Custom orientation to provide your own exact orientation.

Selecting 'Portrait upside down' from the Orientation list.

If you select Custom orientation, the alpha, beta, and gamma rotational axis fields are enabled.

You can also set a custom orientation by dragging the Orientation Model. For example, to rotate along the alpha axis, press and hold Shift before dragging:

The Orientation Model.

Note

Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons Attribution 4.0 International License. The original page is found here and is authored by Kayce Basques (Technical Writer, Chrome DevTools & Lighthouse).

Creative Commons License. This work is licensed under a Creative Commons Attribution 4.0 International License.