puppeteer/docs/api/puppeteer.page.isdraginterceptionenabled.md

24 lines
520 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Page.isDragInterceptionEnabled
---
# Page.isDragInterceptionEnabled() method
> Warning: This API is now obsolete.
>
> We no longer support intercepting drag payloads. Use the new drag APIs found on [ElementHandle](./puppeteer.elementhandle.md) to drag (or just use the [Page.mouse](./puppeteer.page.mouse.md)).
`true` if drag events are being intercepted, `false` otherwise.
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Page {
abstract isDragInterceptionEnabled(): boolean;
2022-07-05 13:41:43 +00:00
}
```
**Returns:**
boolean