pdf.js/examples/acroforms
Tim van der Meij 63fa26843b Interactive forms: rewrite AcroForms example
This patch lets the AcroForms example make use of the built-in interactive
forms functionality in PDF.js. This makes the example:

- much easier to understand;
- more feature-complete;
- in sync with the core when new functionality is added;
- similar to the other examples in terms of structure.
2017-02-05 23:44:32 +01:00
..
acroforms.html Interactive forms: rewrite AcroForms example 2017-02-05 23:44:32 +01:00
acroforms.js Interactive forms: rewrite AcroForms example 2017-02-05 23:44:32 +01:00
README.md Interactive forms: rewrite AcroForms example 2017-02-05 23:44:32 +01:00

Overview

Example to demonstrate PDF.js library usage for rendering files with AcroForms.

Getting started

Build PDF.js using gulp dist and run gulp server to start a web server. You can then work with the example at http://localhost:8888/examples/acroforms/acroforms.html.

Refer to acroforms.js for the source code of the example.