Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e061ec3

Browse files
Improvement - PDF - Add orientation and overflowTolerance config options #243
1 parent 500ac76 commit e061ec3

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

‎src/useConfig.js‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2849,12 +2849,9 @@ export function useConfig() {
28492849
annotator: 'Toggle annotator'
28502850
},
28512851
userOptionsPrint: {
2852-
allowTaint: false,
2853-
backgroundColor: COLOR_WHITE,
2854-
useCORS: false,
2855-
onclone: null,
2852+
overflowTolerance: 0.2,
2853+
orientation: 'auto',
28562854
scale: 2,
2857-
logging: false,
28582855
},
28592856
userOptionsCallbacks: {
28602857
tooltip: null,

‎types/vue-data-ui.d.ts‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6147,12 +6147,9 @@ declare module "vue-data-ui" {
61476147
annotator?: string;
61486148
};
61496149
userOptionsPrint?: {
6150-
allowTaint?: boolean;
6151-
backgroundColor?: string;
6152-
useCORS?: boolean;
6153-
onclone?: null | ((doc: Document) => void),
61546150
scale?: number;
6155-
logging?: boolean;
6151+
overflowTolerance?: number;
6152+
orientation?: 'auto' | 'l' | 'p';
61566153
};
61576154
userOptionsCallbacks?: {
61586155
tooltip?: null | (() => void);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /