puppeteer/assets/js/2bac228e.604da8b9.js
release-please[bot] 07b60feacc deploy: cde1efb962
2024-05-06 08:01:08 +00:00

2 lines
2.7 KiB
JavaScript

/*! For license information please see 2bac228e.604da8b9.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[81727],{77002:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>u,frontMatter:()=>i,metadata:()=>o,toc:()=>s});var a=r(85893),n=r(11151);const i={sidebar_label:"TargetFilterCallback"},l="TargetFilterCallback type",o={id:"api/puppeteer.targetfiltercallback",title:"TargetFilterCallback type",description:"Signature:",source:"@site/versioned_docs/version-22.8.0/api/puppeteer.targetfiltercallback.md",sourceDirName:"api",slug:"/api/puppeteer.targetfiltercallback",permalink:"/api/puppeteer.targetfiltercallback",draft:!1,unlisted:!1,tags:[],version:"22.8.0",frontMatter:{sidebar_label:"TargetFilterCallback"},sidebar:"api",previous:{title:"SnapshotOptions",permalink:"/api/puppeteer.snapshotoptions"},next:{title:"TargetType",permalink:"/api/puppeteer.targettype"}},p={},s=[{value:"Signature:",id:"signature",level:4}];function c(e){const t={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.h1,{id:"targetfiltercallback-type",children:"TargetFilterCallback type"}),"\n",(0,a.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,a.jsx)(t.pre,{children:(0,a.jsx)(t.code,{className:"language-typescript",children:"export type TargetFilterCallback = (target: Target) => boolean;\n"})}),"\n",(0,a.jsxs)(t.p,{children:[(0,a.jsx)(t.strong,{children:"References:"})," ",(0,a.jsx)(t.a,{href:"/api/puppeteer.target",children:"Target"})]})]})}function u(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(c,{...e})}):c(e)}},75251:(e,t,r)=>{var a=r(67294),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,o=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var a,i={},s=null,c=null;for(a in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)l.call(t,a)&&!p.hasOwnProperty(a)&&(i[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===i[a]&&(i[a]=t[a]);return{$$typeof:n,type:e,key:s,ref:c,props:i,_owner:o.current}}t.Fragment=i,t.jsx=s,t.jsxs=s},85893:(e,t,r)=>{e.exports=r(75251)},11151:(e,t,r)=>{r.d(t,{Z:()=>o,a:()=>l});var a=r(67294);const n={},i=a.createContext(n);function l(e){const t=a.useContext(i);return a.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(n):e.components||n:l(e.components),a.createElement(i.Provider,{value:t},e.children)}}}]);