forked from vinodnimbalkar/svelte-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PdfViewer.svelte.d.ts
46 lines (46 loc) · 1.19 KB
/
PdfViewer.svelte.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/** @typedef {typeof __propDef.props} PdfViewerProps */
/** @typedef {typeof __propDef.events} PdfViewerEvents */
/** @typedef {typeof __propDef.slots} PdfViewerSlots */
export default class PdfViewer extends SvelteComponentTyped<
{
data?: any;
url: any;
scale?: number | undefined;
pageNum?: number | undefined;
flipTime?: number | undefined;
showButtons?: string[] | undefined;
showBorder?: boolean | undefined;
totalPage?: number | undefined;
downloadFileName?: string | undefined;
},
{
keydown: KeyboardEvent;
} & {
[evt: string]: CustomEvent<any>;
},
{}
> {}
export type PdfViewerProps = typeof __propDef.props;
export type PdfViewerEvents = typeof __propDef.events;
export type PdfViewerSlots = typeof __propDef.slots;
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
data?: any;
url: any;
scale?: number | undefined;
pageNum?: number | undefined;
flipTime?: number | undefined;
showButtons?: string[] | undefined;
showBorder?: boolean | undefined;
totalPage?: number | undefined;
downloadFileName?: string | undefined;
};
events: {
keydown: KeyboardEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export {};