mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1 line
3.9 KiB
JavaScript
1 line
3.9 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[36527],{3905:function(e,n,t){t.d(n,{Zo:function(){return l},kt:function(){return m}});var r=t(67294);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function c(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?c(Object(t),!0).forEach((function(n){o(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function i(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},c=Object.keys(e);for(r=0;r<c.length;r++)t=c[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)t=c[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var u=r.createContext({}),a=function(e){var n=r.useContext(u),t=n;return e&&(t="function"==typeof e?e(n):p(p({},n),e)),t},l=function(e){var n=a(e.components);return r.createElement(u.Provider,{value:n},e.children)},s={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},f=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),f=a(t),m=o,d=f["".concat(u,".").concat(m)]||f[m]||s[m]||c;return t?r.createElement(d,p(p({ref:n},l),{},{components:t})):r.createElement(d,p({ref:n},l))}));function m(e,n){var t=arguments,o=n&&n.mdxType;if("string"==typeof e||o){var c=t.length,p=new Array(c);p[0]=f;var i={};for(var u in n)hasOwnProperty.call(n,u)&&(i[u]=n[u]);i.originalType=e,i.mdxType="string"==typeof e?e:o,p[1]=i;for(var a=2;a<c;a++)p[a]=t[a];return r.createElement.apply(null,p)}return r.createElement.apply(null,t)}f.displayName="MDXCreateElement"},62026:function(e,n,t){t.r(n),t.d(n,{frontMatter:function(){return i},contentTitle:function(){return u},metadata:function(){return a},toc:function(){return l},default:function(){return f}});var r=t(87462),o=t(63366),c=(t(67294),t(3905)),p=["components"],i={},u=void 0,a={unversionedId:"puppeteer.connection._onclose",id:"version-10.1.0/puppeteer.connection._onclose",isDocsHomePage:!1,title:"puppeteer.connection._onclose",description:"Home > puppeteer > Connection > \\onClose",source:"@site/versioned_docs/version-10.1.0/puppeteer.connection._onclose.md",sourceDirName:".",slug:"/puppeteer.connection._onclose",permalink:"/puppeteer/docs/puppeteer.connection._onclose",editUrl:"https://github.com/facebook/puppeteer/edit/main/website/versioned_docs/version-10.1.0/puppeteer.connection._onclose.md",version:"10.1.0",frontMatter:{}},l=[{value:"Connection._onClose() method",id:"connection_onclose-method",children:[]}],s={toc:l};function f(e){var n=e.components,t=(0,o.Z)(e,p);return(0,c.kt)("wrapper",(0,r.Z)({},s,t,{components:n,mdxType:"MDXLayout"}),(0,c.kt)("p",null,(0,c.kt)("a",{parentName:"p",href:"/puppeteer/docs/index"},"Home")," ",">"," ",(0,c.kt)("a",{parentName:"p",href:"/puppeteer/docs/puppeteer"},"puppeteer")," ",">"," ",(0,c.kt)("a",{parentName:"p",href:"/puppeteer/docs/puppeteer.connection"},"Connection")," ",">"," ",(0,c.kt)("a",{parentName:"p",href:"/puppeteer/docs/puppeteer.connection._onclose"},"_","onClose")),(0,c.kt)("h2",{id:"connection_onclose-method"},"Connection.","_","onClose() method"),(0,c.kt)("b",null,"Signature:"),(0,c.kt)("pre",null,(0,c.kt)("code",{parentName:"pre",className:"language-typescript"},"_onClose(): void;\n")),(0,c.kt)("b",null,"Returns:"),(0,c.kt)("p",null,"void"))}f.isMDXComponent=!0}}]); |