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 7a2ec296.1c4588d9.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[49099],{74755:(e,s,i)=>{i.r(s),i.d(s,{assets:()=>l,contentTitle:()=>o,default:()=>c,frontMatter:()=>n,metadata:()=>a,toc:()=>d});var t=i(85893),r=i(11151);const n={sidebar_label:"Dialog.dismiss"},o="Dialog.dismiss() method",a={id:"api/puppeteer.dialog.dismiss",title:"Dialog.dismiss() method",description:"A promise which will resolve once the dialog has been dismissed",source:"@site/versioned_docs/version-22.0.0/api/puppeteer.dialog.dismiss.md",sourceDirName:"api",slug:"/api/puppeteer.dialog.dismiss",permalink:"/api/puppeteer.dialog.dismiss",draft:!1,unlisted:!1,tags:[],version:"22.0.0",frontMatter:{sidebar_label:"Dialog.dismiss"},sidebar:"api",previous:{title:"Dialog.defaultValue",permalink:"/api/puppeteer.dialog.defaultvalue"},next:{title:"Dialog.message",permalink:"/api/puppeteer.dialog.message"}},l={},d=[{value:"Signature:",id:"signature",level:4}];function p(e){const s={code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.h1,{id:"dialogdismiss-method",children:"Dialog.dismiss() method"}),"\n",(0,t.jsx)(s.p,{children:"A promise which will resolve once the dialog has been dismissed"}),"\n",(0,t.jsx)(s.h4,{id:"signature",children:"Signature:"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-typescript",children:"class Dialog {\n dismiss(): Promise<void>;\n}\n"})}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.strong,{children:"Returns:"})}),"\n",(0,t.jsx)(s.p,{children:"Promise<void>"})]})}function c(e={}){const{wrapper:s}={...(0,r.a)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(p,{...e})}):p(e)}},75251:(e,s,i)=>{var t=i(67294),r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function d(e,s,i){var t,n={},d=null,p=null;for(t in void 0!==i&&(d=""+i),void 0!==s.key&&(d=""+s.key),void 0!==s.ref&&(p=s.ref),s)o.call(s,t)&&!l.hasOwnProperty(t)&&(n[t]=s[t]);if(e&&e.defaultProps)for(t in s=e.defaultProps)void 0===n[t]&&(n[t]=s[t]);return{$$typeof:r,type:e,key:d,ref:p,props:n,_owner:a.current}}s.Fragment=n,s.jsx=d,s.jsxs=d},85893:(e,s,i)=>{e.exports=i(75251)},11151:(e,s,i)=>{i.d(s,{Z:()=>a,a:()=>o});var t=i(67294);const r={},n=t.createContext(r);function o(e){const s=t.useContext(n);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),t.createElement(n.Provider,{value:s},e.children)}}}]); |