"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[98604],{3905:(e,r,t)=>{t.d(r,{Zo:()=>l,kt:()=>d});varn=t(67294);functionp(e,r,t){returnrine?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}functioni(e,r){vart=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){returnObject.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}returnt}functiono(e){for(varr=1;r<arguments.length;r++){vart=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){p(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}returne}functiona(e,r){if(null==e)return{};vart,n,p=function(e,r){if(null==e)return{};vart,n,p={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(p[t]=e[t]);returnp}(e,r);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(p[t]=e[t])}returnp}varc=n.createContext({}),s=function(e){varr=n.useContext(c),t=r;returne&&(t="function"==typeofe?e(r):o(o({},r),e)),t},l=function(e){varr=s(e.components);returnn.createElement(c.Provider,{value:r},e.children)},u={inlineCode:"code",wrapper:function(e){varr=e.children;returnn.createElement(n.Fragment,{},r)}},f=n.forwardRef((function(e,r){vart=e.components,p=e.mdxType,i=e.originalType,c=e.parentName,l=a(e,["components","mdxType","originalType","parentName"]),f=s(t),d=p,y=f["".concat(c,".").concat(d)]||f[d]||u[d]||i;returnt?n.createElement(y,o(o({ref:r},l),{},{components:t})):n.createElement(y,o({ref:r},l))}));functiond(e,r){vart=arguments,p=r&&r.mdxType;if("string"==typeofe||p){vari=t.length,o=newArray(i);o[0]=f;vara={};for(varcinr)hasOwnProperty.call(r,c)&&(a[c]=r[c]);a.originalType=e,a.mdxType="string"==typeofe?e:p,o[1]=a;for(vars=2;s<i;s++)o[s]=t[s];returnn.createElement.apply(null,o)}returnn.createElement.apply(null,t)}f.displayName="MDXCreateElement"},99220:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>s,contentTitle:()=>a,default:()=>f,frontMatter:()=>o,metadata:()=>c,toc:()=>l});t(67294);varn=t(3905);functionp(){returnp=Object.assign||function(e){for(varr=1;r<arguments.length;r++){vart=arguments[r];for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}returne},p.apply(this,arguments)}functioni(e,r){if(null==e)return{};vart,n,p=function(e,r){if(null==e)return{};vart,n,p={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(p[t]=e[t]);returnp}(e,r);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(p[t]=e[t])}returnp}consto={sidebar_label:"Viewport.isLandscape"},a="Viewport.isLandscape property",c={unversionedId:"api/puppeteer.viewport.islandscape",id:"version-18.1.0/api/puppeteer.viewport.islandscape",title:"Viewport.isLandscape property",description:"Specifies if the viewport is in landscape mode.",source:"@site/versioned_docs/version-18.1.0/api/puppeteer.viewport.islandscape.md",sourceDirName:"api",slug:"/api/puppeteer.viewport.islandscape",permalink:"/api/puppeteer.viewport.islandscape",draft:!1,tags:[],version:"18.1.0",frontMatter:{sidebar_label:"Viewport.isLandscape"},sidebar:"sidebar",previous:{title:"Viewport.height",permalink:"/api/puppeteer.viewport.height"},next:{title:"Viewport.isMobile",permalink:"/api/puppeteer.viewport.ismobile"}},s={},l=[],u={toc:l};functionf(e){var{components:r}=e,t=i(e,["components"]);return(0,n.kt)("wrapper",p({},u,t,{components:r,mdxType:"MDXLayout"}),(0,n.kt)("h1",p({},{id:"viewportislandscape-property"}),"Viewport.isLandscape property"),(0,n.kt)("p",null,"Specifies if the viewport is in landscape mode."),(0,n.kt)("p",null,(0,n.kt)("strong",{parentName:"p"},"Signature:")),(0,n.kt)("pre",null,(0,n.kt)("code",p({parentName:"pre"},