You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/global.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5277,7 +5277,7 @@ <h5>Returns:</h5>
5277
5277
<brclass="clear">
5278
5278
5279
5279
<footer>
5280
-
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sat Oct 08 2016 22:04:02 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
5280
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sun Oct 09 2016 08:16:00 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
<p><strong>A library to generate PDFs in client-side JavaScript.</strong></p>
52
52
<p>You can <ahref="http://twitter.com/MrRio">catch me on twitter</a>: <ahref="http://twitter.com/MrRio">@MrRio</a> or head over to <ahref="http://parall.ax">my company's website</a> for consultancy.</p>
53
-
<h2>Creating your first document</h2><p>See examples/basic.html. There's a live editor example at index.html.</p>
54
-
<preclass="prettyprint source lang-javascript"><code>var doc = new jsPDF();
55
-
doc.text(20, 20, 'Hello world.');
56
-
doc.save('Test.pdf');</code></pre><p><strong>Head over to <ahref="http://jspdf.com">jsPDF.com</a> for details or <ahref="http://mrrio.github.io/jsPDF/"><em>here</em></a> for our most recent live editor and examples.</strong></p>
53
+
<h2>Creating your first document</h2><p>The easiest way to get started is to drop the CDN hosted library into your page:</p>
54
+
<preclass="prettyprint source lang-html"><code><script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.2/jspdf.debug.js"></script></code></pre><p>Then you're ready to start making your document:</p>
55
+
<preclass="prettyprint source lang-javascript"><code>// Default export is a4 paper, portrait, using milimeters for units
56
+
var doc = new jsPDF()
57
+
58
+
doc.text('Hello world!', 10, 10)
59
+
doc.save('a4.pdf')</code></pre><p>If you want to change the paper size, orientation, or units, you can do:</p>
doc.save('two-by-four.pdf')</code></pre><p><strong>Head over to <ahref="http://jspdf.com">jsPDF.com</a> for details or <ahref="http://mrrio.github.io/jsPDF/"><em>here</em></a> for our most recent live editor and examples.</strong></p>
57
69
<h2>Contributing</h2><p>Build the library with <code>npm run build</code>. This will fetch all dependencies and then compile the <code>dist</code> files. To see the examples locally you can start a web server with <code>npm start</code> and go to <code>localhost:8000</code>.</p>
58
70
<h2>Credits</h2><ul>
59
71
<li>Big thanks to Daniel Dotsenko from <ahref="http://willow-systems.com">Willow Systems Corporation</a> for making huge contributions to the codebase.</li>
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sat Oct 08 2016 22:04:02 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
104
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sun Oct 09 2016 08:16:00 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Copy file name to clipboardExpand all lines: docs/jsPDF.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -349,7 +349,7 @@ <h5>Example</h5>
349
349
<brclass="clear">
350
350
351
351
<footer>
352
-
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sat Oct 08 2016 22:04:02 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
352
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sun Oct 09 2016 08:16:00 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sat Oct 08 2016 22:04:02 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
2311
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sun Oct 09 2016 08:16:00 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sat Oct 08 2016 22:04:02 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
1752
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sun Oct 09 2016 08:16:00 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sat Oct 08 2016 22:04:02 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
168
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sun Oct 09 2016 08:16:00 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sat Oct 08 2016 22:04:02 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
784
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sun Oct 09 2016 08:16:00 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sat Oct 08 2016 22:04:02 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
342
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sun Oct 09 2016 08:16:00 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sat Oct 08 2016 22:04:02 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
464
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a> on Sun Oct 09 2016 08:16:00 GMT+0100 (BST) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
0 commit comments