mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
included method definition for onrendered event which provides the rendered canvas element
This commit is contained in:
2
html2canvas/html2canvas.d.ts
vendored
2
html2canvas/html2canvas.d.ts
vendored
@@ -37,6 +37,8 @@ declare module Html2Canvas {
|
||||
/** Whether to attempt to load cross-origin images as CORS served, before reverting back to proxy. */
|
||||
useCORS?: boolean;
|
||||
|
||||
/** Callback providing the rendered canvas element after rendering */
|
||||
onrendered?(canvas: HTMLElement): void;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user