svelte-pdfjs
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "svelte-pdfjs", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"devDependencies": { | ||
@@ -5,0 +5,0 @@ "@sveltejs/adapter-netlify": "^1.0.0-next.36", |
import { SvelteComponentTyped } from "svelte"; | ||
import type { DocumentInitParameters, OnProgressParameters } from 'pdfjs-dist/types/src/display/api'; | ||
import type { DocumentInitParameters, OnProgressParameters, PDFDocumentProxy } from 'pdfjs-dist/types/src/display/api'; | ||
declare const __propDef: { | ||
@@ -15,11 +15,16 @@ props: { | ||
}; | ||
events: { | ||
loadsuccess: any; | ||
loaderror: any; | ||
} & { | ||
[evt: string]: CustomEvent<any>; | ||
}; | ||
slots: { | ||
default: {}; | ||
}; | ||
getters: {}; | ||
events: { | ||
/** | ||
* Emitted when a document is loaded successfully. | ||
*/ | ||
loadsuccess: CustomEvent<PDFDocumentProxy>; | ||
/** | ||
* Emitted when there's an error loading the document. | ||
*/ | ||
loaderror: CustomEvent<Error>; | ||
}; | ||
}; | ||
@@ -26,0 +31,0 @@ export declare type DocumentProps = typeof __propDef.props; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17243
178