mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
2.6 KiB
JavaScript
2 lines
2.6 KiB
JavaScript
|
/*! For license information please see 7f98199f.9e7c202a.js.LICENSE.txt */
|
||
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[54672],{210:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>l,frontMatter:()=>s,metadata:()=>a,toc:()=>p});var r=n(85893),o=n(11151);const s={sidebar_label:"MouseButton"},i="MouseButton variable",a={id:"api/puppeteer.mousebutton",title:"MouseButton variable",description:"Enum of valid mouse buttons.",source:"@site/versioned_docs/version-21.6.0/api/puppeteer.mousebutton.md",sourceDirName:"api",slug:"/api/puppeteer.mousebutton",permalink:"/api/puppeteer.mousebutton",draft:!1,unlisted:!1,tags:[],version:"21.6.0",frontMatter:{sidebar_label:"MouseButton"},sidebar:"api",previous:{title:"Metrics",permalink:"/api/puppeteer.metrics"},next:{title:"MouseClickOptions",permalink:"/api/puppeteer.mouseclickoptions"}},u={},p=[{value:"Signature:",id:"signature",level:4}];function c(e){const t={code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"mousebutton-variable",children:"MouseButton variable"}),"\n",(0,r.jsx)(t.p,{children:"Enum of valid mouse buttons."}),"\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:"MouseButton: Readonly<{\n Left: 'left';\n Right: 'right';\n Middle: 'middle';\n Back: 'back';\n Forward: 'forward';\n}>;\n"})})]})}function l(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},75251:(e,t,n)=>{var r=n(67294),o=Symbol.for("react.element"),s=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function p(e,t,n){var r,s={},p=null,c=null;for(r in void 0!==n&&(p=""+n),void 0!==t.key&&(p=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!u.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===s[r]&&(s[r]=t[r]);return{$$typeof:o,type:e,key:p,ref:c,props:s,_owner:a.current}}t.Fragment=s,t.jsx=p,t.jsxs=p},85893:(e,t,n)=>{e.exports=n(75251)},11151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>i});var r=n(67294);const o={},s=r.createContext(o);function i(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]);
|