16 lines
199 B
Markdown
16 lines
199 B
Markdown
|
---
|
||
|
sidebar_label: Viewport.hasTouch
|
||
|
---
|
||
|
|
||
|
# Viewport.hasTouch property
|
||
|
|
||
|
Specify if the viewport supports touch events.
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
interface Viewport {
|
||
|
hasTouch?: boolean;
|
||
|
}
|
||
|
```
|