Skip to content

Commit

Permalink
added svgRendering property to Html2CanvasOptions interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Züger committed Apr 8, 2016
1 parent ec9eb4b commit 00e8cf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions html2canvas/html2canvas.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ declare namespace Html2Canvas {

/** Whether to attempt to load cross-origin images as CORS served, before reverting back to proxy. */
useCORS?: boolean;

/** Use svg powered rendering where available (FF11+). */
svgRendering?: boolean;

/** Callback providing the rendered canvas element after rendering */
onrendered?(canvas: HTMLCanvasElement): void;
Expand Down

0 comments on commit 00e8cf6

Please sign in to comment.