Fix for backgroundColor property (#29361)

This commit is contained in:
Cerberuser
2018-10-10 01:56:35 +07:00
committed by Andy
parent 4070a91a41
commit df68ef81fc

View File

@@ -14,8 +14,8 @@ declare namespace Html2Canvas {
/** Whether to allow cross-origin images to taint the canvas */
allowTaint?: boolean;
/** Canvas background color, if none is specified in DOM. Set undefined for transparent */
backgroundColor?: string;
/** Canvas background color, if none is specified in DOM. Set null for transparent */
backgroundColor?: string | null;
/** Existing canvas element to use as a base for drawing on */
canvas?: any;