mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1 line
5.0 KiB
JavaScript
1 line
5.0 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[37606],{3905:function(e,r,t){t.d(r,{Zo:function(){return c},kt:function(){return d}});var n=t(67294);function p(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function u(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?u(Object(t),!0).forEach((function(r){p(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function o(e,r){if(null==e)return{};var t,n,p=function(e,r){if(null==e)return{};var t,n,p={},u=Object.keys(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)>=0||(p[t]=e[t]);return p}(e,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(p[t]=e[t])}return p}var i=n.createContext({}),l=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},c=function(e){var r=l(e.components);return n.createElement(i.Provider,{value:r},e.children)},s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},m=n.forwardRef((function(e,r){var t=e.components,p=e.mdxType,u=e.originalType,i=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),m=l(t),d=p,f=m["".concat(i,".").concat(d)]||m[d]||s[d]||u;return t?n.createElement(f,a(a({ref:r},c),{},{components:t})):n.createElement(f,a({ref:r},c))}));function d(e,r){var t=arguments,p=r&&r.mdxType;if("string"==typeof e||p){var u=t.length,a=new Array(u);a[0]=m;var o={};for(var i in r)hasOwnProperty.call(r,i)&&(o[i]=r[i]);o.originalType=e,o.mdxType="string"==typeof e?e:p,a[1]=o;for(var l=2;l<u;l++)a[l]=t[l];return n.createElement.apply(null,a)}return n.createElement.apply(null,t)}m.displayName="MDXCreateElement"},43147:function(e,r,t){t.r(r),t.d(r,{frontMatter:function(){return o},contentTitle:function(){return i},metadata:function(){return l},toc:function(){return c},default:function(){return m}});var n=t(87462),p=t(63366),u=(t(67294),t(3905)),a=["components"],o={},i=void 0,l={unversionedId:"puppeteer.puppeteer.unregistercustomqueryhandler",id:"version-10.1.0/puppeteer.puppeteer.unregistercustomqueryhandler",isDocsHomePage:!1,title:"puppeteer.puppeteer.unregistercustomqueryhandler",description:"Home > puppeteer > Puppeteer > unregisterCustomQueryHandler",source:"@site/versioned_docs/version-10.1.0/puppeteer.puppeteer.unregistercustomqueryhandler.md",sourceDirName:".",slug:"/puppeteer.puppeteer.unregistercustomqueryhandler",permalink:"/puppeteer/docs/puppeteer.puppeteer.unregistercustomqueryhandler",editUrl:"https://github.com/facebook/puppeteer/edit/main/website/versioned_docs/version-10.1.0/puppeteer.puppeteer.unregistercustomqueryhandler.md",version:"10.1.0",frontMatter:{},sidebar:"version-10.1.0/docs",previous:{title:"puppeteer.puppeteer.registercustomqueryhandler",permalink:"/puppeteer/docs/puppeteer.puppeteer.registercustomqueryhandler"},next:{title:"puppeteer.browserfetcher",permalink:"/puppeteer/docs/puppeteer.browserfetcher"}},c=[{value:"Puppeteer.unregisterCustomQueryHandler() method",id:"puppeteerunregistercustomqueryhandler-method",children:[]},{value:"Parameters",id:"parameters",children:[]}],s={toc:c};function m(e){var r=e.components,t=(0,p.Z)(e,a);return(0,u.kt)("wrapper",(0,n.Z)({},s,t,{components:r,mdxType:"MDXLayout"}),(0,u.kt)("p",null,(0,u.kt)("a",{parentName:"p",href:"/puppeteer/docs/index"},"Home")," ",">"," ",(0,u.kt)("a",{parentName:"p",href:"/puppeteer/docs/puppeteer"},"puppeteer")," ",">"," ",(0,u.kt)("a",{parentName:"p",href:"/puppeteer/docs/puppeteer.puppeteer"},"Puppeteer")," ",">"," ",(0,u.kt)("a",{parentName:"p",href:"/puppeteer/docs/puppeteer.puppeteer.unregistercustomqueryhandler"},"unregisterCustomQueryHandler")),(0,u.kt)("h2",{id:"puppeteerunregistercustomqueryhandler-method"},"Puppeteer.unregisterCustomQueryHandler() method"),(0,u.kt)("b",null,"Signature:"),(0,u.kt)("pre",null,(0,u.kt)("code",{parentName:"pre",className:"language-typescript"},"unregisterCustomQueryHandler(name: string): void;\n")),(0,u.kt)("h2",{id:"parameters"},"Parameters"),(0,u.kt)("table",null,(0,u.kt)("thead",{parentName:"table"},(0,u.kt)("tr",{parentName:"thead"},(0,u.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,u.kt)("th",{parentName:"tr",align:null},"Type"),(0,u.kt)("th",{parentName:"tr",align:null},"Description"))),(0,u.kt)("tbody",{parentName:"table"},(0,u.kt)("tr",{parentName:"tbody"},(0,u.kt)("td",{parentName:"tr",align:null},"name"),(0,u.kt)("td",{parentName:"tr",align:null},"string"),(0,u.kt)("td",{parentName:"tr",align:null},"The name of the query handler to unregistered.")))),(0,u.kt)("b",null,"Returns:"),(0,u.kt)("p",null,"void"))}m.isMDXComponent=!0}}]); |