wzl a52462bccc add: 注释类完善 | 4 ay önce | |
---|---|---|
packages | 4 ay önce | |
.gitignore | 5 ay önce | |
README.md | 4 ay önce | |
jsdoc.config.json | 4 ay önce | |
package.json | 4 ay önce | |
pnpm-lock.yaml | 5 ay önce | |
pnpm-workspace.yaml | 2 yıl önce | |
webpack.config.dev.js | 2 yıl önce | |
webpack.config.prod.js | 2 yıl önce |
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.