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

21 lines
1.3 KiB
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; [DisplayFeature](./puppeteer.protocol.emulation.displayfeature.md)
## Protocol.Emulation.DisplayFeature interface
<b>Signature:</b>
```typescript
export interface DisplayFeature
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [maskLength](./puppeteer.protocol.emulation.displayfeature.masklength.md) | [integer](./puppeteer.protocol.integer.md) | A display feature may mask content such that it is not physically displayed - this length along with the offset describes this area. A display feature that only splits content will have a 0 mask\_length. |
| [offset](./puppeteer.protocol.emulation.displayfeature.offset.md) | [integer](./puppeteer.protocol.integer.md) | The offset from the screen origin in either the x (for vertical orientation) or y (for horizontal orientation) direction. |
| [orientation](./puppeteer.protocol.emulation.displayfeature.orientation.md) | ('vertical' \| 'horizontal') | Orientation of a display feature in relation to screen (DisplayFeatureOrientation enum) |