21 lines
1.3 KiB
Markdown
21 lines
1.3 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Emulation](./puppeteer.protocol.emulation.md) > [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) |
|
||
|
|