"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[75706],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>f});varn=r(67294);functioni(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}functiono(e,t){varr=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}returnr}functionp(e){for(vart=1;t<arguments.length;t++){varr=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}returne}functiona(e,t){if(null==e)return{};varr,n,i=function(e,t){if(null==e)return{};varr,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);returni}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}returni}varl=n.createContext({}),c=function(e){vart=n.useContext(l),r=t;returne&&(r="function"==typeofe?e(t):p(p({},t),e)),r},s=function(e){vart=c(e.components);returnn.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){vart=e.children;returnn.createElement(n.Fragment,{},t)}},b=n.forwardRef((function(e,t){varr=e.components,i=e.mdxType,o=e.originalType,l=e.parentName,s=a(e,["components","mdxType","originalType","parentName"]),b=c(r),f=i,m=b["".concat(l,".").concat(f)]||b[f]||u[f]||o;returnr?n.createElement(m,p(p({ref:t},s),{},{components:r})):n.createElement(m,p({ref:t},s))}));functionf(e,t){varr=arguments,i=t&&t.mdxType;if("string"==typeofe||i){varo=r.length,p=newArray(o);p[0]=b;vara={};for(varlint)hasOwnProperty.call(t,l)&&(a[l]=t[l]);a.originalType=e,a.mdxType="string"==typeofe?e:i,p[1]=a;for(varc=2;c<o;c++)p[c]=r[c];returnn.createElement.apply(null,p)}returnn.createElement.apply(null,r)}b.displayName="MDXCreateElement"},89157:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>p,default:()=>u,frontMatter:()=>o,metadata:()=>a,toc:()=>c});varn=r(87462),i=(r(67294),r(3905));consto={sidebar_label:"Viewport.isMobile"},p="Viewport.isMobile property",a={unversionedId:"api/puppeteer.viewport.ismobile",id:"version-15.3.0/api/puppeteer.viewport.ismobile",title:"Viewport.isMobile property",description:"Whether the meta viewport tag is taken into account.",source:"@site/versioned_docs/version-15.3.0/api/puppeteer.viewport.ismobile.md",sourceDirName:"api",slug:"/api/puppeteer.viewport.ismobile",permalink:"/api/puppeteer.viewport.ismobile",draft:!1,tags:[],version:"15.3.0",frontMatter:{sidebar_label:"Viewport.isMobile"},sidebar:"sidebar",previous:{title:"Viewport.isLandscape",permalink:"/api/puppeteer.viewport.islandscape"},next:{title:"Viewport.width",permalink:"/api/puppeteer.viewport.width"}},l={},c=[],s={toc:c};functionu(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"viewportismobile-property"},"Viewport.isMobile property"),(0,i.kt)("p",null,"Whether the ",(0,i.kt)("inlineCode",{parentName:"p"},"meta viewport")," tag is taken into account."),(0,i.kt)("p",null,(0,i.kt)("strong",{parentName:"p"},"Signature:")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-typescript"},"interface Viewport {\n isMobile?: boolean;\n}\n")))}u.isMDXComponent=!0}}]);