Skip to content

Commit 3ec0be1

Browse files
committed
Improvement - Add the logging html2canvas option
1 parent dca5f35 commit 3ec0be1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/useConfig.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ export function useConfig() {
178178
backgroundColor: '#FFFFFF',
179179
useCORS: false,
180180
onclone: null,
181-
scale: 2
181+
scale: 2,
182+
logging: false
182183
}
183184
}
184185
}
@@ -2504,7 +2505,8 @@ export function useConfig() {
25042505
backgroundColor: '#FFFFFF',
25052506
useCORS: false,
25062507
onclone: null,
2507-
scale: 2
2508+
scale: 2,
2509+
logging: false,
25082510
},
25092511
title: '',
25102512
titleBold: true,

types/vue-data-ui.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ declare module "vue-data-ui" {
218218
useCORS?: boolean;
219219
onclone?: null | ((doc: Document) => void);
220220
scale?: number;
221+
logging?: boolean;
221222
};
222223
};
223224

@@ -5130,6 +5131,7 @@ declare module "vue-data-ui" {
51305131
useCORS?: boolean;
51315132
onclone?: null | ((doc: Document) => void),
51325133
scale?: number;
5134+
logging?: boolean;
51335135
};
51345136
showUserOptionsOnChartHover?: boolean;
51355137
keepUserOptionsStateOnChartLeave?: boolean;

0 commit comments

Comments
 (0)