puppeteer/assets/js/37a009e7.f2b5e784.js
release-please[bot] d3364cba40 deploy: af6eba4bea
2023-12-15 12:13:30 +00:00

2 lines
2.8 KiB
JavaScript

/*! For license information please see 37a009e7.f2b5e784.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[77303],{87577:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>i,contentTitle:()=>a,default:()=>u,frontMatter:()=>r,metadata:()=>p,toc:()=>l});var n=t(85893),o=t(11151);const r={sidebar_label:"ConsoleMessage.type"},a="ConsoleMessage.type() method",p={id:"api/puppeteer.consolemessage.type",title:"ConsoleMessage.type() method",description:"The type of the console message.",source:"@site/versioned_docs/version-21.6.1/api/puppeteer.consolemessage.type.md",sourceDirName:"api",slug:"/api/puppeteer.consolemessage.type",permalink:"/api/puppeteer.consolemessage.type",draft:!1,unlisted:!1,tags:[],version:"21.6.1",frontMatter:{sidebar_label:"ConsoleMessage.type"},sidebar:"api",previous:{title:"ConsoleMessage.text",permalink:"/api/puppeteer.consolemessage.text"},next:{title:"Frame",permalink:"/api/puppeteer.frame"}},i={},l=[{value:"Signature:",id:"signature",level:4}];function c(e){const s={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.h1,{id:"consolemessagetype-method",children:"ConsoleMessage.type() method"}),"\n",(0,n.jsx)(s.p,{children:"The type of the console message."}),"\n",(0,n.jsx)(s.h4,{id:"signature",children:"Signature:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-typescript",children:"class ConsoleMessage {\n type(): ConsoleMessageType;\n}\n"})}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:"Returns:"})}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.a,{href:"/api/puppeteer.consolemessagetype",children:"ConsoleMessageType"})})]})}function u(e={}){const{wrapper:s}={...(0,o.a)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},75251:(e,s,t)=>{var n=t(67294),o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,p=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,s,t){var n,r={},l=null,c=null;for(n in void 0!==t&&(l=""+t),void 0!==s.key&&(l=""+s.key),void 0!==s.ref&&(c=s.ref),s)a.call(s,n)&&!i.hasOwnProperty(n)&&(r[n]=s[n]);if(e&&e.defaultProps)for(n in s=e.defaultProps)void 0===r[n]&&(r[n]=s[n]);return{$$typeof:o,type:e,key:l,ref:c,props:r,_owner:p.current}}s.Fragment=r,s.jsx=l,s.jsxs=l},85893:(e,s,t)=>{e.exports=t(75251)},11151:(e,s,t)=>{t.d(s,{Z:()=>p,a:()=>a});var n=t(67294);const o={},r=n.createContext(o);function a(e){const s=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function p(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),n.createElement(r.Provider,{value:s},e.children)}}}]);