puppeteer/assets/js/6a85cdd9.0ee1392e.js
2021-10-07 15:21:45 +00:00

1 line
4.0 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[86959],{3905:function(e,t,n){n.d(t,{Zo:function(){return a},kt:function(){return l}});var r=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=r.createContext({}),d=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},a=function(e){var t=d(e.components);return r.createElement(u.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,a=c(e,["components","mdxType","originalType","parentName"]),f=d(n),l=o,m=f["".concat(u,".").concat(l)]||f[l]||s[l]||i;return n?r.createElement(m,p(p({ref:t},a),{},{components:n})):r.createElement(m,p({ref:t},a))}));function l(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=n.length,p=new Array(i);p[0]=f;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c.mdxType="string"==typeof e?e:o,p[1]=c;for(var d=2;d<i;d++)p[d]=n[d];return r.createElement.apply(null,p)}return r.createElement.apply(null,n)}f.displayName="MDXCreateElement"},79809:function(e,t,n){n.r(t),n.d(t,{frontMatter:function(){return c},contentTitle:function(){return u},metadata:function(){return d},toc:function(){return a},default:function(){return f}});var r=n(87462),o=n(63366),i=(n(67294),n(3905)),p=["components"],c={},u=void 0,d={unversionedId:"puppeteer.predefinednetworkconditions",id:"version-9.1.1/puppeteer.predefinednetworkconditions",isDocsHomePage:!1,title:"puppeteer.predefinednetworkconditions",description:"Home &gt; puppeteer &gt; PredefinedNetworkConditions",source:"@site/versioned_docs/version-9.1.1/puppeteer.predefinednetworkconditions.md",sourceDirName:".",slug:"/puppeteer.predefinednetworkconditions",permalink:"/puppeteer/docs/9.1.1/puppeteer.predefinednetworkconditions",editUrl:"https://github.com/facebook/puppeteer/edit/main/website/versioned_docs/version-9.1.1/puppeteer.predefinednetworkconditions.md",version:"9.1.1",frontMatter:{}},a=[{value:"PredefinedNetworkConditions type",id:"predefinednetworkconditions-type",children:[]}],s={toc:a};function f(e){var t=e.components,n=(0,o.Z)(e,p);return(0,i.kt)("wrapper",(0,r.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/puppeteer/docs/9.1.1/index"},"Home")," ",">"," ",(0,i.kt)("a",{parentName:"p",href:"/puppeteer/docs/9.1.1/puppeteer"},"puppeteer")," ",">"," ",(0,i.kt)("a",{parentName:"p",href:"/puppeteer/docs/9.1.1/puppeteer.predefinednetworkconditions"},"PredefinedNetworkConditions")),(0,i.kt)("h2",{id:"predefinednetworkconditions-type"},"PredefinedNetworkConditions type"),(0,i.kt)("b",null,"Signature:"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-typescript"},"export declare type PredefinedNetworkConditions = {\n [name: string]: NetworkConditions;\n};\n")),(0,i.kt)("b",null,"References:")," [NetworkConditions](/puppeteer/docs/9.1.1/puppeteer.networkconditions)")}f.isMDXComponent=!0}}]);