docs(new): add TSDoc comments to Keyboard (#6099)

Co-authored-by: Tim van der Lippe <tvanderlippe@google.com>
This commit is contained in:
Jack Franklin
2020-06-25 10:56:55 +01:00
committed by Mathias Bynens
parent 4696f7abda
commit 5b6d2bfb0e
12 changed files with 233 additions and 80 deletions

View File

@@ -4,6 +4,8 @@
## Keyboard.up() method
Dispatches a `keyup` event.
<b>Signature:</b>
```typescript
@@ -14,7 +16,7 @@ up(key: KeyInput): Promise<void>;
| Parameter | Type | Description |
| --- | --- | --- |
| key | [KeyInput](./puppeteer.keyinput.md) | |
| key | [KeyInput](./puppeteer.keyinput.md) | Name of key to release, such as <code>ArrowLeft</code>. See [KeyInput](./puppeteer.keyinput.md) for a list of all key names. |
<b>Returns:</b>