Add missing removeEventListener doc

pull/5250/head
Chocobozzz 2022-09-09 11:40:14 +02:00
parent e15ce63041
commit 914af0d9e4
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 0 deletions

View File

@ -169,6 +169,10 @@ Seek to the given position, as specified in seconds into the video.
Add a listener for a specific event. See below for the available events.
## `removeEventListener(eventName : string, handler : Function)`
Remove a listener.
## `getResolutions() : Promise<PeerTubeResolution[]>`
Get the available resolutions. A `PeerTubeResolution` looks like: