8e1c8b9be6
* chore(main): release 17.1.1 * chore: generate versioned docs Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
21 lines
284 B
Markdown
21 lines
284 B
Markdown
---
|
|
sidebar_label: Device.viewport
|
|
---
|
|
|
|
# Device.viewport property
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
interface Device {
|
|
viewport: {
|
|
width: number;
|
|
height: number;
|
|
deviceScaleFactor: number;
|
|
isMobile: boolean;
|
|
hasTouch: boolean;
|
|
isLandscape: boolean;
|
|
};
|
|
}
|
|
```
|