wzl ce90a3fb41 add: 补充类 7 months ago
..
constants 1550c5ac7e add: 创建、删除回复;属性面板UI 10 months ago
src ce90a3fb41 add: 补充类 7 months ago
.babelrc c7455ddc51 init 2 years ago
README.md 7803095d85 add: 添加需要补充的类;文档基础结构 8 months ago
index.js c7455ddc51 init 2 years ago
jsdoc.config.json 7803095d85 add: 添加需要补充的类;文档基础结构 8 months ago
package.json ce90a3fb41 add: 补充类 7 months ago
rollup.config.js f6d004e485 fix: 修复markup坐标问题 1 year ago
tsconfig.json 77785044f5 test 1 year ago
webviewer.js 6ee91e6aa4 fix:修改 outline 显示为组件显示 1 year ago

README.md

ComPDFKit for Web

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.

  • Usability UI: Simple, easy to use, and highly customizable
  • Client Side: Workload is offloaded to client (no server needed)
  • High Fidelity: Accurate, reliable PDFium-based rendering engine
  • Prebuilt Features: Annotate, Content Editor, Document Editor, Signatures, Form, and more

Instantiation

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/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');
    })
  })

Support

If you have any questions, please feel free to ask us at ComPDFKit Support.