mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
2.8 KiB
JavaScript
2 lines
2.8 KiB
JavaScript
/*! For license information please see c5fb9ee9.b99aa07e.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[50209],{53244:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>u,frontMatter:()=>r,metadata:()=>p,toc:()=>i});var n=s(85893),o=s(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/../docs/api/puppeteer.consolemessage.type.md",sourceDirName:"api",slug:"/api/puppeteer.consolemessage.type",permalink:"/next/api/puppeteer.consolemessage.type",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"ConsoleMessage.type"},sidebar:"api",previous:{title:"ConsoleMessage.text",permalink:"/next/api/puppeteer.consolemessage.text"},next:{title:"Frame",permalink:"/next/api/puppeteer.frame"}},l={},i=[{value:"Signature:",id:"signature",level:4}];function c(e){const t={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)(t.h1,{id:"consolemessagetype-method",children:"ConsoleMessage.type() method"}),"\n",(0,n.jsx)(t.p,{children:"The type of the console message."}),"\n",(0,n.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-typescript",children:"class ConsoleMessage {\n type(): ConsoleMessageType;\n}\n"})}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.a,{href:"/next/api/puppeteer.consolemessagetype",children:"ConsoleMessageType"})})]})}function u(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},75251:(e,t,s)=>{var n=s(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,l={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,s){var n,r={},i=null,c=null;for(n in void 0!==s&&(i=""+s),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!l.hasOwnProperty(n)&&(r[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===r[n]&&(r[n]=t[n]);return{$$typeof:o,type:e,key:i,ref:c,props:r,_owner:p.current}}t.Fragment=r,t.jsx=i,t.jsxs=i},85893:(e,t,s)=>{e.exports=s(75251)},11151:(e,t,s)=>{s.d(t,{Z:()=>p,a:()=>a});var n=s(67294);const o={},r=n.createContext(o);function a(e){const t=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function p(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]); |