File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ npm i jspdf-invoice-template
2525Alternatively, load latest version from a CDN:<br />
2626<i >(Recommended to use a static version (not @latest ) to prevent failure when updates are made)</i >
2727``` html
28- <script src =" https://unpkg.com/jspdf-invoice-template@1.3.1 /dist/index.js" ></script >
28+ <script src =" https://unpkg.com/jspdf-invoice-template@1.4.0 /dist/index.js" ></script >
2929```
3030</details >
3131<hr />
@@ -75,6 +75,7 @@ var props = {
7575 returnJsPDFDocObject: true ,
7676 fileName: " Invoice 2021" ,
7777 orientationLandscape: false ,
78+ compress: true ,
7879 logo: {
7980 src: " https://raw.githubusercontent.com/edisonneza/jspdf-invoice-template/demo/images/logo.png" ,
8081 width: 53.33 , // aspect ratio = width/height
@@ -123,7 +124,7 @@ var props = {
123124 {
124125 title: " Description" ,
125126 style: {
126- width: 50
127+ width: 80
127128 }
128129 },
129130 { title: " Price" },
@@ -134,6 +135,7 @@ var props = {
134135 table: Array .from (Array (10 ), (item , index )=> ([
135136 index + 1 ,
136137 " There are many variations " ,
138+ " Lorem Ipsum is simply dummy text dummy text " ,
137139 200.5 ,
138140 4.5 ,
139141 " m2" ,
You can’t perform that action at this time.
0 commit comments