PageSourceSearch

https://pptr.dev/assets/js/8e64b735.1f93dd4b.js

js pptr.dev collected 2026-09-24 07:05:10 UTC 2,876 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["17466"],{37990(e,n,t){t.r(n),t.d(n,{metadata:()=>r,default:()=>c,frontMatter:()=>s,contentTitle:()=>p,toc:()=>l,assets:()=>o});var r=JSON.parse('{"id":"api/puppeteer.page.isdraginterceptionenabled","title":"Page.isDragInterceptionEnabled() method","description":"Warning: This API is now obsolete.","source":"@site/versioned_docs/version-25.12.0/api/puppeteer.page.isdraginterceptionenabled.md","sourceDirName":"api","slug":"/api/puppeteer.page.isdraginterceptionenabled","permalink":"/api/puppeteer.page.isdraginterceptionenabled","draft":false,"unlisted":false,"tags":[],"version":"25.12.0","frontMatter":{"sidebar_label":"Page.isDragInterceptionEnabled"},"sidebar":"api","previous":{"title":"Page.isClosed","permalink":"/api/puppeteer.page.isclosed"},"next":{"title":"Page.isJavaScriptEnabled","permalink":"/api/puppeteer.page.isjavascriptenabled"}}'),a=t(74848),i=t(28453);let s={sidebar_label:"Page.isDragInterceptionEnabled"},p="Page.isDragInterceptionEnabled() method",o={},l=[{value:"Signature",id:"signature",level:3}];function d(e){let n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h3:"h3",header:"header",p:"p",pre:"pre",strong:"strong",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"pageisdraginterceptionenabled-method",children:"Page.isDragInterceptionEnabled() method"})}),"\n",(0,a.jsxs)(n.blockquote,{children:["\n",(0,a.jsx)(n.p,{children:"Warning: This API is now obsolete."}),"\n",(0,a.jsxs)(n.p,{children:["We no longer support intercepting drag payloads. Use the new drag APIs found on ",(0,a.jsx)(n.a,{href:"/api/puppeteer.elementhandle",children:"ElementHandle"})," to drag (or just use the ",(0,a.jsx)(n.a,{href:"/api/puppeteer.page#mouse",children:"Page.mouse"}),")."]}),"\n"]}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.code,{children:"true"})," if drag events are being intercepted, ",(0,a.jsx)(n.code,{children:"false"})," otherwise."]}),"\n",(0,a.jsx)(n.h3,{id:"signature",children:"Signature"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-typescript",children:"class Page {\n  abstract isDragInterceptionEnabled(): boolean;\n}\n"})}),"\n",(0,a.jsx)(n.p,{children:(0,a.jsx)(n.strong,{children:"Returns:"})}),"\n",(0,a.jsx)(n.p,{children:"boolean"})]})}function c(e={}){let{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}},28453(e,n,t){t.d(n,{R:()=>s,x:()=>p});var r=t(96540);let a={},i=r.createContext(a);function s(e){let n=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function p(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.