puppeteer/new-docs/puppeteer.protocol.page.layoutviewport.md
2020-07-13 14:01:35 +01:00

24 lines
1.2 KiB
Markdown

<!-- 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; [Page](./puppeteer.protocol.page.md) &gt; [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). |