mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:07:36 +00:00
LibWeb: Implement HTMLCanvasElement.toBlob()
This commit is contained in:
parent
3239f0fb7b
commit
b731705fec
4 changed files with 52 additions and 1 deletions
|
@ -15,5 +15,7 @@ interface HTMLCanvasElement : HTMLElement {
|
|||
[CEReactions] attribute unsigned long height;
|
||||
|
||||
USVString toDataURL(optional DOMString type = "image/png", optional double quality);
|
||||
|
||||
undefined toBlob(BlobCallback _callback, optional DOMString type = "image/png", optional double quality);
|
||||
};
|
||||
|
||||
callback BlobCallback = undefined (Blob? blob);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue