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 d055669b.01cafb4f.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[69447],{19460:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>o,default:()=>l,frontMatter:()=>p,metadata:()=>i,toc:()=>c});var r=n(85893),s=n(11151);const p={sidebar_label:"KeyPressOptions"},o="KeyPressOptions type",i={id:"api/puppeteer.keypressoptions",title:"KeyPressOptions type",description:"Signature:",source:"@site/../docs/api/puppeteer.keypressoptions.md",sourceDirName:"api",slug:"/api/puppeteer.keypressoptions",permalink:"/next/api/puppeteer.keypressoptions",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"KeyPressOptions"},sidebar:"api",previous:{title:"KeyInput",permalink:"/next/api/puppeteer.keyinput"},next:{title:"KnownDevices",permalink:"/next/api/puppeteer.knowndevices"}},a={},c=[{value:"Signature:",id:"signature",level:4}];function u(e){const t={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"keypressoptions-type",children:"KeyPressOptions type"}),"\n",(0,r.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-typescript",children:"export type KeyPressOptions = KeyDownOptions & KeyboardTypeOptions;\n"})}),"\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.strong,{children:"References:"})," ",(0,r.jsx)(t.a,{href:"/next/api/puppeteer.keydownoptions",children:"KeyDownOptions"}),", ",(0,r.jsx)(t.a,{href:"/next/api/puppeteer.keyboardtypeoptions",children:"KeyboardTypeOptions"})]})]})}function l(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},75251:(e,t,n)=>{var r=n(67294),s=Symbol.for("react.element"),p=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,p={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)o.call(t,r)&&!a.hasOwnProperty(r)&&(p[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===p[r]&&(p[r]=t[r]);return{$$typeof:s,type:e,key:c,ref:u,props:p,_owner:i.current}}t.Fragment=p,t.jsx=c,t.jsxs=c},85893:(e,t,n)=>{e.exports=n(75251)},11151:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>o});var r=n(67294);const s={},p=r.createContext(s);function o(e){const t=r.useContext(p);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(p.Provider,{value:t},e.children)}}}]); |