docs: fix small typo (#8195)

This commit fixes a single typo.

- functon -> function
This commit is contained in:
Cody Eakins 2022-04-06 03:32:31 -05:00 committed by GitHub
parent 9ac7318506
commit 12260b19af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View File

@ -884,7 +884,7 @@ export class Frame {
*
* @param selector - the selector to query for
* @param pageFunction - the function to be evaluated in the frame's context
* @param args - additional arguments to pass to `pageFuncton`
* @param args - additional arguments to pass to `pageFunction`
*/
async $eval<ReturnType>(
selector: string,
@ -914,7 +914,7 @@ export class Frame {
*
* @param selector - the selector to query for
* @param pageFunction - the function to be evaluated in the frame's context
* @param args - additional arguments to pass to `pageFuncton`
* @param args - additional arguments to pass to `pageFunction`
*/
async $$eval<ReturnType>(
selector: string,

View File

@ -16,7 +16,7 @@ $$eval<ReturnType>(selector: string, pageFunction: (elements: Element[], ...args
| --- | --- | --- |
| selector | string | the selector to query for |
| pageFunction | (elements: Element\[\], ...args: unknown\[\]) =&gt; ReturnType \| Promise&lt;ReturnType&gt; | the function to be evaluated in the frame's context |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFuncton</code> |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
<b>Returns:</b>

View File

@ -16,7 +16,7 @@ $eval<ReturnType>(selector: string, pageFunction: (element: Element, ...args: un
| --- | --- | --- |
| selector | string | the selector to query for |
| pageFunction | (element: Element, ...args: unknown\[\]) =&gt; ReturnType \| Promise&lt;ReturnType&gt; | the function to be evaluated in the frame's context |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFuncton</code> |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
<b>Returns:</b>

View File

@ -16,7 +16,7 @@ $$eval<ReturnType>(selector: string, pageFunction: (elements: Element[], ...args
| --- | --- | --- |
| selector | string | the selector to query for |
| pageFunction | (elements: Element\[\], ...args: unknown\[\]) =&gt; ReturnType \| Promise&lt;ReturnType&gt; | the function to be evaluated in the frame's context |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFuncton</code> |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
<b>Returns:</b>

View File

@ -16,7 +16,7 @@ $eval<ReturnType>(selector: string, pageFunction: (element: Element, ...args: un
| --- | --- | --- |
| selector | string | the selector to query for |
| pageFunction | (element: Element, ...args: unknown\[\]) =&gt; ReturnType \| Promise&lt;ReturnType&gt; | the function to be evaluated in the frame's context |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFuncton</code> |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
<b>Returns:</b>

View File

@ -16,7 +16,7 @@ $$eval<ReturnType>(selector: string, pageFunction: (elements: Element[], ...args
| --- | --- | --- |
| selector | string | the selector to query for |
| pageFunction | (elements: Element\[\], ...args: unknown\[\]) =&gt; ReturnType \| Promise&lt;ReturnType&gt; | the function to be evaluated in the frame's context |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFuncton</code> |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
<b>Returns:</b>

View File

@ -16,7 +16,7 @@ $eval<ReturnType>(selector: string, pageFunction: (element: Element, ...args: un
| --- | --- | --- |
| selector | string | the selector to query for |
| pageFunction | (element: Element, ...args: unknown\[\]) =&gt; ReturnType \| Promise&lt;ReturnType&gt; | the function to be evaluated in the frame's context |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFuncton</code> |
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
<b>Returns:</b>