mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
fix: setElement type definition
This commit is contained in:
Vendored
+2
-2
@@ -2212,10 +2212,10 @@ export class Image {
|
||||
* Sets image element for this instance to a specified one.
|
||||
* If filters defined they are applied to new image.
|
||||
* You might need to call `canvas.renderAll` and `object.setCoords` after replacing, to render new image and update controls area.
|
||||
* @param [callback] Callback is invoked when all filters have been applied and new image is generated
|
||||
* @param element image element
|
||||
* @param [options] Options object
|
||||
*/
|
||||
setElement(element: HTMLImageElement, callback: Function, options: IImageOptions): Image;
|
||||
setElement(element: HTMLImageElement, options?: IImageOptions): Image;
|
||||
/**
|
||||
* Delete a single texture if in webgl mode
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user