24 lines
1.2 KiB
Markdown
24 lines
1.2 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [LayoutViewport](./puppeteer.protocol.page.layoutviewport.md)
|
||
|
|
||
|
## Protocol.Page.LayoutViewport interface
|
||
|
|
||
|
Layout viewport position and dimensions.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface LayoutViewport
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [clientHeight](./puppeteer.protocol.page.layoutviewport.clientheight.md) | [integer](./puppeteer.protocol.integer.md) | Height (CSS pixels), excludes scrollbar if present. |
|
||
|
| [clientWidth](./puppeteer.protocol.page.layoutviewport.clientwidth.md) | [integer](./puppeteer.protocol.integer.md) | Width (CSS pixels), excludes scrollbar if present. |
|
||
|
| [pageX](./puppeteer.protocol.page.layoutviewport.pagex.md) | [integer](./puppeteer.protocol.integer.md) | Horizontal offset relative to the document (CSS pixels). |
|
||
|
| [pageY](./puppeteer.protocol.page.layoutviewport.pagey.md) | [integer](./puppeteer.protocol.integer.md) | Vertical offset relative to the document (CSS pixels). |
|
||
|
|