puppeteer/assets/js/ce895a48.ed93185c.js

2 lines
2.5 KiB
JavaScript
Raw Normal View History

/*! For license information please see ce895a48.ed93185c.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[35478],{87802:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>p,default:()=>l,frontMatter:()=>s,metadata:()=>i,toc:()=>c});var r=n(85893),o=n(11151);const s={sidebar_label:"CDPEvents"},p="CDPEvents type",i={id:"api/puppeteer.cdpevents",title:"CDPEvents type",description:"Signature:",source:"@site/versioned_docs/version-22.8.0/api/puppeteer.cdpevents.md",sourceDirName:"api",slug:"/api/puppeteer.cdpevents",permalink:"/api/puppeteer.cdpevents",draft:!1,unlisted:!1,tags:[],version:"22.8.0",frontMatter:{sidebar_label:"CDPEvents"},sidebar:"api",previous:{title:"BrowserLaunchArgumentOptions",permalink:"/api/puppeteer.browserlaunchargumentoptions"},next:{title:"CDPSessionEvent",permalink:"/api/puppeteer.cdpsessionevent"}},a={},c=[{value:"Signature:",id:"signature",level:4}];function u(e){const t={code:"code",h1:"h1",h4:"h4",pre:"pre",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"cdpevents-type",children:"CDPEvents type"}),"\n",(0,r.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-typescript",children:"export type CDPEvents = {\n [Property in keyof ProtocolMapping.Events]: ProtocolMapping.Events[Property][0];\n};\n"})})]})}function l(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},75251:(e,t,n)=>{var r=n(67294),o=Symbol.for("react.element"),s=Symbol.for("react.fragment"),p=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,s={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)p.call(t,r)&&!a.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===s[r]&&(s[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:s,_owner:i.current}}t.Fragment=s,t.jsx=c,t.jsxs=c},85893:(e,t,n)=>{e.exports=n(75251)},11151:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>p});var r=n(67294);const o={},s=r.createContext(o);function p(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:p(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]);