pdfkit-table
Advanced tools
Comparing version 0.1.35 to 0.1.36
@@ -90,2 +90,3 @@ "use strict"; | ||
// add space after title | ||
if( title || subtitle ){ | ||
@@ -92,0 +93,0 @@ startY += 3; |
{ | ||
"name": "pdfkit-table", | ||
"version": "0.1.35", | ||
"version": "0.1.36", | ||
"description": "PdfKit Table. Helps to draw informations in simple tables using pdfkit. #server-side. Generate pdf tables with javascript (PDFKIT plugin) ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -53,2 +53,4 @@ # pdfkit-table | ||
const table = { | ||
title: "Title", | ||
subtitle: "Subtitle", | ||
headers: ["Country", "Conversion rate", "Trend"], | ||
@@ -247,2 +249,4 @@ rows: [ | ||
-----------------------|-----------------------|--------------------|-------------------| | ||
| **title** | <code>String</code> | undefined | title | | ||
| **subtitle** | <code>String</code> | undefined | subtitle | | ||
| **width** | <code>Number</code> | undefined | width of table | | ||
@@ -262,2 +266,4 @@ | **x** | <code>Number</code> | undefined / doc.x | position x (left) | | ||
// properties | ||
title: "Title", | ||
title: "Subtitle", | ||
width: 500, // {Number} default: undefined // A4 595.28 x 841.89 (portrait) (about width sizes) | ||
@@ -357,2 +363,7 @@ x: 0, // {Number} default: undefined | doc.x | ||
### 0.1.36 | ||
+ Fix position x, y of title | ||
+ **options.x**: **null** | **-1** // reset position to margins.left | ||
### 0.1.35 | ||
@@ -359,0 +370,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27679
350
422