mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 15:52:13 +00:00
chore(docs): update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
# Class: DropdownView
|
||||
|
||||
Defined in: [src/parser/classes/DropdownView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L17)
|
||||
Defined in: [src/parser/classes/DropdownView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L17)
|
||||
|
||||
## Extends
|
||||
|
||||
@@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DropdownView.ts:17](https://github.com/LuanRT/Yo
|
||||
|
||||
> **new DropdownView**(`data`): `DropdownView`
|
||||
|
||||
Defined in: [src/parser/classes/DropdownView.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L27)
|
||||
Defined in: [src/parser/classes/DropdownView.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L27)
|
||||
|
||||
#### Parameters
|
||||
|
||||
@@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DropdownView.ts:27](https://github.com/LuanRT/Yo
|
||||
|
||||
> **disabled**: `boolean`
|
||||
|
||||
Defined in: [src/parser/classes/DropdownView.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L22)
|
||||
Defined in: [src/parser/classes/DropdownView.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L22)
|
||||
|
||||
***
|
||||
|
||||
@@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DropdownView.ts:22](https://github.com/LuanRT/Yo
|
||||
|
||||
> **dropdown\_type**: `string`
|
||||
|
||||
Defined in: [src/parser/classes/DropdownView.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L24)
|
||||
Defined in: [src/parser/classes/DropdownView.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L24)
|
||||
|
||||
***
|
||||
|
||||
@@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DropdownView.ts:24](https://github.com/LuanRT/Yo
|
||||
|
||||
> **id**: `string`
|
||||
|
||||
Defined in: [src/parser/classes/DropdownView.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L25)
|
||||
Defined in: [src/parser/classes/DropdownView.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L25)
|
||||
|
||||
***
|
||||
|
||||
@@ -60,7 +60,7 @@ Defined in: [src/parser/classes/DropdownView.ts:25](https://github.com/LuanRT/Yo
|
||||
|
||||
> **label**: [`Text`](../../Misc/classes/Text.md)
|
||||
|
||||
Defined in: [src/parser/classes/DropdownView.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L20)
|
||||
Defined in: [src/parser/classes/DropdownView.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L20)
|
||||
|
||||
***
|
||||
|
||||
@@ -68,7 +68,7 @@ Defined in: [src/parser/classes/DropdownView.ts:20](https://github.com/LuanRT/Yo
|
||||
|
||||
> `optional` **options**: `Option`[]
|
||||
|
||||
Defined in: [src/parser/classes/DropdownView.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L23)
|
||||
Defined in: [src/parser/classes/DropdownView.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L23)
|
||||
|
||||
***
|
||||
|
||||
@@ -76,7 +76,7 @@ Defined in: [src/parser/classes/DropdownView.ts:23](https://github.com/LuanRT/Yo
|
||||
|
||||
> **placeholder\_text**: [`Text`](../../Misc/classes/Text.md)
|
||||
|
||||
Defined in: [src/parser/classes/DropdownView.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L21)
|
||||
Defined in: [src/parser/classes/DropdownView.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L21)
|
||||
|
||||
***
|
||||
|
||||
@@ -84,7 +84,7 @@ Defined in: [src/parser/classes/DropdownView.ts:21](https://github.com/LuanRT/Yo
|
||||
|
||||
> `readonly` **type**: `string`
|
||||
|
||||
Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8)
|
||||
Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
@@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/
|
||||
|
||||
> `static` **type**: `string` = `'DropdownView'`
|
||||
|
||||
Defined in: [src/parser/classes/DropdownView.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L18)
|
||||
Defined in: [src/parser/classes/DropdownView.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L18)
|
||||
|
||||
#### Overrides
|
||||
|
||||
@@ -108,7 +108,7 @@ Defined in: [src/parser/classes/DropdownView.ts:18](https://github.com/LuanRT/Yo
|
||||
|
||||
> **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\>
|
||||
|
||||
Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29)
|
||||
Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29)
|
||||
|
||||
Cast to one of the given types.
|
||||
|
||||
@@ -150,7 +150,7 @@ If the node is not of the given type
|
||||
|
||||
> **hasKey**\<`T`, `R`\>(`key`): `this is DropdownView & { [k in string]: R }`
|
||||
|
||||
Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41)
|
||||
Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41)
|
||||
|
||||
Check for a key without asserting the type.
|
||||
|
||||
@@ -188,7 +188,7 @@ Whether the node has the key
|
||||
|
||||
> **is**\<`T`, `K`\>(...`types`): `this is InstanceType<K[number]>`
|
||||
|
||||
Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19)
|
||||
Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19)
|
||||
|
||||
Check if the node is of the given type.
|
||||
|
||||
@@ -226,7 +226,7 @@ whether the node is of the given type
|
||||
|
||||
> **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md)
|
||||
|
||||
Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51)
|
||||
Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51)
|
||||
|
||||
Assert that the node has the given key and return it.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user