puppeteer/new-docs/puppeteer.protocol.emulation.screenorientation.md

22 lines
893 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Emulation](./puppeteer.protocol.emulation.md) &gt; [ScreenOrientation](./puppeteer.protocol.emulation.screenorientation.md)
## Protocol.Emulation.ScreenOrientation interface
Screen orientation.
<b>Signature:</b>
```typescript
export interface ScreenOrientation
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [angle](./puppeteer.protocol.emulation.screenorientation.angle.md) | [integer](./puppeteer.protocol.integer.md) | Orientation angle. |
| [type](./puppeteer.protocol.emulation.screenorientation.type.md) | ('portraitPrimary' \| 'portraitSecondary' \| 'landscapePrimary' \| 'landscapeSecondary') | Orientation type. (ScreenOrientationType enum) |