From c2732c1f86059ff60a94c989f632fc6b8cb4b27c Mon Sep 17 00:00:00 2001 From: eNezaDell Date: Fri, 14 Jan 2022 22:12:31 +0100 Subject: [PATCH] Updated readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a02e920..5936f9e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ npm i jspdf-invoice-template Alternatively, load latest version from a CDN:
(Recommended to use a static version (not @latest) to prevent failure when updates are made) ```html - + ```
@@ -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 @@ -123,7 +124,7 @@ var props = { { title: "Description", style: { - width: 50 + width: 80 } }, { title: "Price"}, @@ -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",