puppeteer/assets/js/fccac3d0.1e0aa0ad.js
release-please[bot] d321f9557a deploy: 8c0ac61260
2023-12-06 08:09:55 +00:00

2 lines
3.8 KiB
JavaScript

/*! For license information please see fccac3d0.1e0aa0ad.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[21753],{32324:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>l,frontMatter:()=>n,metadata:()=>o,toc:()=>d});var s=r(85893),i=r(11151);const n={sidebar_label:"DeviceRequestPromptDevice"},c="DeviceRequestPromptDevice class",o={id:"api/puppeteer.devicerequestpromptdevice",title:"DeviceRequestPromptDevice class",description:"Device in a request prompt.",source:"@site/versioned_docs/version-21.6.0/api/puppeteer.devicerequestpromptdevice.md",sourceDirName:"api",slug:"/api/puppeteer.devicerequestpromptdevice",permalink:"/api/puppeteer.devicerequestpromptdevice",draft:!1,unlisted:!1,tags:[],version:"21.6.0",frontMatter:{sidebar_label:"DeviceRequestPromptDevice"},sidebar:"api",previous:{title:"DeviceRequestPrompt.waitForDevice",permalink:"/api/puppeteer.devicerequestprompt.waitfordevice"},next:{title:"devices",permalink:"/api/puppeteer.devices"}},p={},d=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2},{value:"Properties",id:"properties",level:2}];function a(e){const t={code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"devicerequestpromptdevice-class",children:"DeviceRequestPromptDevice class"}),"\n",(0,s.jsx)(t.p,{children:"Device in a request prompt."}),"\n",(0,s.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-typescript",children:"export declare class DeviceRequestPromptDevice\n"})}),"\n",(0,s.jsx)(t.h2,{id:"remarks",children:"Remarks"}),"\n",(0,s.jsxs)(t.p,{children:["The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ",(0,s.jsx)(t.code,{children:"DeviceRequestPromptDevice"})," class."]}),"\n",(0,s.jsx)(t.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Property"}),(0,s.jsx)(t.th,{children:"Modifiers"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"id"}),(0,s.jsx)(t.td,{}),(0,s.jsx)(t.td,{children:"string"}),(0,s.jsx)(t.td,{children:"Device id during a prompt."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"name"}),(0,s.jsx)(t.td,{}),(0,s.jsx)(t.td,{children:"string"}),(0,s.jsx)(t.td,{children:"Device name as it appears in a prompt."})]})]})]})]})}function l(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},75251:(e,t,r)=>{var s=r(67294),i=Symbol.for("react.element"),n=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,o=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function d(e,t,r){var s,n={},d=null,a=null;for(s in void 0!==r&&(d=""+r),void 0!==t.key&&(d=""+t.key),void 0!==t.ref&&(a=t.ref),t)c.call(t,s)&&!p.hasOwnProperty(s)&&(n[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===n[s]&&(n[s]=t[s]);return{$$typeof:i,type:e,key:d,ref:a,props:n,_owner:o.current}}t.Fragment=n,t.jsx=d,t.jsxs=d},85893:(e,t,r)=>{e.exports=r(75251)},11151:(e,t,r)=>{r.d(t,{Z:()=>o,a:()=>c});var s=r(67294);const i={},n=s.createContext(i);function c(e){const t=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),s.createElement(n.Provider,{value:t},e.children)}}}]);