mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
2.7 KiB
JavaScript
2 lines
2.7 KiB
JavaScript
/*! For license information please see 216c59e3.7b46bcd5.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[19546],{39032:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>l});var r=o(85893),n=o(11151);const a={sidebar_label:"Dialog.type"},i="Dialog.type() method",s={id:"api/puppeteer.dialog.type",title:"Dialog.type() method",description:"The type of the dialog.",source:"@site/versioned_docs/version-21.6.0/api/puppeteer.dialog.type.md",sourceDirName:"api",slug:"/api/puppeteer.dialog.type",permalink:"/api/puppeteer.dialog.type",draft:!1,unlisted:!1,tags:[],version:"21.6.0",frontMatter:{sidebar_label:"Dialog.type"},sidebar:"api",previous:{title:"Dialog.message",permalink:"/api/puppeteer.dialog.message"},next:{title:"ConsoleMessage",permalink:"/api/puppeteer.consolemessage"}},p={},l=[{value:"Signature:",id:"signature",level:4}];function c(e){const t={code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"dialogtype-method",children:"Dialog.type() method"}),"\n",(0,r.jsx)(t.p,{children:"The type of the dialog."}),"\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:"class Dialog {\n type(): Protocol.Page.DialogType;\n}\n"})}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,r.jsx)(t.p,{children:"Protocol.Page.DialogType"})]})}function d(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},75251:(e,t,o)=>{var r=o(67294),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,o){var r,a={},l=null,c=null;for(r in void 0!==o&&(l=""+o),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!p.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:n,type:e,key:l,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=l,t.jsxs=l},85893:(e,t,o)=>{e.exports=o(75251)},11151:(e,t,o)=>{o.d(t,{Z:()=>s,a:()=>i});var r=o(67294);const n={},a=r.createContext(n);function i(e){const t=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),r.createElement(a.Provider,{value:t},e.children)}}}]); |