wzl a52462bccc add: 注释类完善 | hace 4 meses | |
---|---|---|
packages | hace 4 meses | |
.gitignore | hace 5 meses | |
README.md | hace 4 meses | |
jsdoc.config.json | hace 4 meses | |
package.json | hace 4 meses | |
pnpm-lock.yaml | hace 5 meses | |
pnpm-workspace.yaml | hace 2 años | |
webpack.config.dev.js | hace 2 años | |
webpack.config.prod.js | hace 2 años |
ComPDFKit for Web is a powerful JavaScript PDF library and you can easily and quickly integrate PDF functionality like viewing, annotating, Forms, signing, and document editing into your Web applications.
You can get a complete get-started guide in our documentation.
You must instantiate WebViewer in order to access classes and APIs.
import ComPDFKitViewer from "/@compdfkit_pdf_sdk/webviewer";
const viewer = document.getElementById('webviewer');
ComPDFKitViewer.init({
pdfUrl: 'Your PDF Url',
license: 'Input your license here'
}, viewer)
.then((core) => {
const docViewer = core.docViewer;
docViewer.addEvent('documentloaded',async () => {
console.log('ComPDFKit Web Demo loaded');
})
})
If you have any questions, please feel free to ask us at ComPDFKit Support.