Open index.html
at the repository root in your browser to familiar yourself with the examples or go to the hosted examples page. Then you can check the source code of all examples in examples.js
.
Check simple.html
for the most basic usage example of the plugin.
There are three module bundler examples. If you open each example's index.html
it should work out of the box (npm install is required for webpack and browserify). You can inspect the code used for bundling each, but it is very simple.
Note that jspdf versions before 1.3 does not work well with module bundlers.