2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
sidebar_label: Viewport.isLandscape
|
|
|
|
---
|
|
|
|
|
|
|
|
# Viewport.isLandscape property
|
|
|
|
|
|
|
|
Specifies if the viewport is in landscape mode.
|
|
|
|
|
2022-10-24 14:31:12 +00:00
|
|
|
#### Signature:
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
interface Viewport {
|
|
|
|
isLandscape?: boolean;
|
|
|
|
}
|
|
|
|
```
|
2022-10-24 14:31:12 +00:00
|
|
|
|
|
|
|
#### Default value:
|
|
|
|
|
|
|
|
false
|