Skip to content

Commit 4a1554d

Browse files
committed
Improvement - Update types with html2canvas options
1 parent e22bb2a commit 4a1554d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

types/vue-data-ui.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,14 @@ declare module "vue-data-ui" {
211211
table?: string;
212212
tooltip?: string;
213213
};
214+
// html2canvas options
215+
print?: {
216+
allowTaint?: boolean;
217+
backgroundColor?: string;
218+
useCORS?: boolean;
219+
onclone?: null | ((doc: Document) => void);
220+
scale?: number;
221+
};
214222
};
215223

216224
export type ChartTableCell = {
@@ -5116,6 +5124,13 @@ declare module "vue-data-ui" {
51165124
fullscreen?: string;
51175125
annotator?: string;
51185126
};
5127+
userOptionsPrint?: {
5128+
allowTaint?: boolean;
5129+
backgroundColor?: string;
5130+
useCORS?: boolean;
5131+
onclone?: null | ((doc: Document) => void),
5132+
scale?: number;
5133+
};
51195134
showUserOptionsOnChartHover?: boolean;
51205135
keepUserOptionsStateOnChartLeave?: boolean;
51215136
};

0 commit comments

Comments
 (0)