Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
edisonneza committed Jan 14, 2022
1 parent 46603fa commit c2732c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ npm i jspdf-invoice-template
Alternatively, load latest version from a CDN:<br/>
<i>(Recommended to use a static version (not @latest) to prevent failure when updates are made)</i>
```html
<script src="https://unpkg.com/jspdf-invoice-template@1.3.1/dist/index.js"></script>
<script src="https://unpkg.com/jspdf-invoice-template@1.4.0/dist/index.js"></script>
```
</details>
<hr/>
Expand Down Expand Up @@ -75,6 +75,7 @@ var props = {
returnJsPDFDocObject: true,
fileName: "Invoice 2021",
orientationLandscape: false,
compress: true,
logo: {
src: "https://raw.githubusercontent.com/edisonneza/jspdf-invoice-template/demo/images/logo.png",
width: 53.33, //aspect ratio = width/height
Expand Down Expand Up @@ -123,7 +124,7 @@ var props = {
{
title: "Description",
style: {
width: 50
width: 80
}
},
{ title: "Price"},
Expand All @@ -134,6 +135,7 @@ var props = {
table: Array.from(Array(10), (item, index)=>([
index + 1,
"There are many variations ",
"Lorem Ipsum is simply dummy text dummy text ",
200.5,
4.5,
"m2",
Expand Down

0 comments on commit c2732c1

Please sign in to comment.