"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9444],{3905:(e,t,r)=>{r.d(t,{Zo:()=>u,kt:()=>d});var n=r(67294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,p=e.originalType,l=e.parentName,u=a(e,["components","mdxType","originalType","parentName"]),f=c(r),d=i,y=f["".concat(l,".").concat(d)]||f[d]||s[d]||p;return r?n.createElement(y,o(o({ref:t},u),{},{components:r})):n.createElement(y,o({ref:t},u))}));function d(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var p=r.length,o=new Array(p);o[0]=f;var a={};for(var l in t)hasOwnProperty.call(t,l)&&(a[l]=t[l]);a.originalType=e,a.mdxType="string"==typeof e?e:i,o[1]=a;for(var c=2;c{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>f,frontMatter:()=>o,metadata:()=>l,toc:()=>u});r(67294);var n=r(3905);function i(){return i=Object.assign||function(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}const o={sidebar_label:"Viewport.width"},a="Viewport.width property",l={unversionedId:"api/puppeteer.viewport.width",id:"api/puppeteer.viewport.width",title:"Viewport.width property",description:"The page width in pixels.",source:"@site/../docs/api/puppeteer.viewport.width.md",sourceDirName:"api",slug:"/api/puppeteer.viewport.width",permalink:"/next/api/puppeteer.viewport.width",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"Viewport.width"},sidebar:"api",previous:{title:"Viewport.isMobile",permalink:"/next/api/puppeteer.viewport.ismobile"},next:{title:"WaitForOptions",permalink:"/next/api/puppeteer.waitforoptions"}},c={},u=[{value:"Signature:",id:"signature",level:4}],s={toc:u};function f(e){var{components:t}=e,r=p(e,["components"]);return(0,n.kt)("wrapper",i({},s,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",i({},{id:"viewportwidth-property"}),"Viewport.width property"),(0,n.kt)("p",null,"The page width in pixels."),(0,n.kt)("h4",i({},{id:"signature"}),"Signature:"),(0,n.kt)("pre",null,(0,n.kt)("code",i({parentName:"pre"},{className:"language-typescript"}),"interface Viewport {\n width: number;\n}\n")))}f.isMDXComponent=!0}}]);