Fix toBlob() documentation

These are copy-and-paste errors from the toDataURL() section.
This commit is contained in:
Pierre Ossman 2022-12-27 14:58:55 +01:00
parent ce534b85c1
commit 74fe694cc4
1 changed files with 4 additions and 4 deletions

View File

@ -476,9 +476,9 @@ screen encoded as [`Blob`][mdn-blob].
##### Syntax
RFB.toDataURL( callback );
RFB.toDataURL( callback, type );
RFB.toDataURL( callback, type, quality );
RFB.toBlob( callback );
RFB.toBlob( callback, type );
RFB.toBlob( callback, type, quality );
###### Parameters
@ -489,7 +489,7 @@ screen encoded as [`Blob`][mdn-blob].
**`type`** *Optional*
- A string indicating the requested MIME type of the image
**`encoderOptions`** *Optional*
**`quality`** *Optional*
- A number between 0 and 1 indicating the image quality.
#### RFB.toDataURL()