mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
2.7 KiB
JavaScript
2 lines
2.7 KiB
JavaScript
/*! For license information please see 45d660bd.754a3f87.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[69232],{40651:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>u,frontMatter:()=>o,metadata:()=>p,toc:()=>c});var r=t(85893),i=t(11151);const o={sidebar_label:"Permission"},s="Permission type",p={id:"api/puppeteer.permission",title:"Permission type",description:"Signature:",source:"@site/versioned_docs/version-21.6.1/api/puppeteer.permission.md",sourceDirName:"api",slug:"/api/puppeteer.permission",permalink:"/api/puppeteer.permission",draft:!1,unlisted:!1,tags:[],version:"21.6.1",frontMatter:{sidebar_label:"Permission"},sidebar:"api",previous:{title:"PDFOptions",permalink:"/api/puppeteer.pdfoptions"},next:{title:"Point",permalink:"/api/puppeteer.point"}},a={},c=[{value:"Signature:",id:"signature",level:4}];function l(e){const n={code:"code",h1:"h1",h4:"h4",pre:"pre",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"permission-type",children:"Permission type"}),"\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 type Permission =\n | 'geolocation'\n | 'midi'\n | 'notifications'\n | 'camera'\n | 'microphone'\n | 'background-sync'\n | 'ambient-light-sensor'\n | 'accelerometer'\n | 'gyroscope'\n | 'magnetometer'\n | 'accessibility-events'\n | 'clipboard-read'\n | 'clipboard-write'\n | 'clipboard-sanitized-write'\n | 'payment-handler'\n | 'persistent-storage'\n | 'idle-detection'\n | 'midi-sysex';\n"})})]})}function u(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},75251:(e,n,t)=>{var r=t(67294),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,p=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(e,n,t){var r,o={},c=null,l=null;for(r in void 0!==t&&(c=""+t),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(l=n.ref),n)s.call(n,r)&&!a.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:c,ref:l,props:o,_owner:p.current}}n.Fragment=o,n.jsx=c,n.jsxs=c},85893:(e,n,t)=>{e.exports=t(75251)},11151:(e,n,t)=>{t.d(n,{Z:()=>p,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 p(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); |