mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
4.2 KiB
JavaScript
2 lines
4.2 KiB
JavaScript
|
/*! For license information please see 04e0c568.0fbc9a10.js.LICENSE.txt */
|
||
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[93633],{28952:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>s,default:()=>p,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var r=t(85893),i=t(11151);const o={sidebar_label:"GeolocationOptions"},s="GeolocationOptions interface",c={id:"api/puppeteer.geolocationoptions",title:"GeolocationOptions interface",description:"Signature:",source:"@site/../docs/api/puppeteer.geolocationoptions.md",sourceDirName:"api",slug:"/api/puppeteer.geolocationoptions",permalink:"/next/api/puppeteer.geolocationoptions",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"GeolocationOptions"},sidebar:"api",previous:{title:"FrameWaitForFunctionOptions",permalink:"/next/api/puppeteer.framewaitforfunctionoptions"},next:{title:"GoToOptions",permalink:"/next/api/puppeteer.gotooptions"}},d={},l=[{value:"Signature:",id:"signature",level:4},{value:"Properties",id:"properties",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"geolocationoptions-interface",children:"GeolocationOptions interface"}),"\n",(0,r.jsx)(n.h4,{id:"signature",children:"Signature:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:"export interface GeolocationOptions\n"})}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsxs)("table",{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:(0,r.jsx)(n.p,{children:"Property"})}),(0,r.jsx)("th",{children:(0,r.jsx)(n.p,{children:"Modifiers"})}),(0,r.jsx)("th",{children:(0,r.jsx)(n.p,{children:"Type"})}),(0,r.jsx)("th",{children:(0,r.jsx)(n.p,{children:"Description"})}),(0,r.jsx)("th",{children:(0,r.jsx)(n.p,{children:"Default"})})]})}),(0,r.jsxs)("tbody",{children:[(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)("span",{id:"accuracy",children:"accuracy"})}),(0,r.jsx)("td",{children:(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"optional"})})}),(0,r.jsx)("td",{children:(0,r.jsx)(n.p,{children:"number"})}),(0,r.jsx)("td",{children:(0,r.jsx)(n.p,{children:"Optional non-negative accuracy value."})}),(0,r.jsx)("td",{})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)("span",{id:"latitude",children:"latitude"})}),(0,r.jsx)("td",{}),(0,r.jsx)("td",{children:(0,r.jsx)(n.p,{children:"number"})}),(0,r.jsx)("td",{children:(0,r.jsxs)(n.p,{children:["Longitude between ",(0,r.jsx)(n.code,{children:"-180"})," and ",(0,r.jsx)(n.code,{children:"180"}),"."]})}),(0,r.jsx)("td",{})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)("span",{id:"longitude",children:"longitude"})}),(0,r.jsx)("td",{}),(0,r.jsx)("td",{children:(0,r.jsx)(n.p,{children:"number"})}),(0,r.jsx)("td",{children:(0,r.jsxs)(n.p,{children:["Latitude between ",(0,r.jsx)(n.code,{children:"-90"})," and ",(0,r.jsx)(n.code,{children:"90"}),"."]})}),(0,r.jsx)("td",{})]})]})]})]})}function p(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},75251:(e,n,t)=>{var r=t(67294),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function l(e,n,t){var r,o={},l=null,a=null;for(r in void 0!==t&&(l=""+t),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(a=n.ref),n)s.call(n,r)&&!d.hasOwnProperty(r)&&(o[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===o[r]&&(o[r]=n[r]);return{$$typeof:i,type:e,key:l,ref:a,props:o,_owner:c.current}}n.Fragment=o,n.jsx=l,n.jsxs=l},85893:(e,n,t)=>{e.exports=t(75251)},11151:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>s});var r=t(67294);const i={},o=r.createContext(i);function s(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.co
|