jspdf-autotable
Advanced tools
Comparing version 3.0.2 to 3.0.3
/*! | ||
* | ||
* jsPDF AutoTable plugin v3.0.2 | ||
* jsPDF AutoTable plugin v3.0.3 | ||
* | ||
@@ -5,0 +5,0 @@ * Copyright (c) 2014 Simon Bengtsson, https://github.com/simonbengtsson/jsPDF-AutoTable |
{ | ||
"name": "jspdf-autotable", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Generate pdf tables with javascript (jsPDF plugin)", | ||
@@ -5,0 +5,0 @@ "main": "dist/jspdf.plugin.autotable.js", |
@@ -31,3 +31,3 @@ <a href='https://ko-fi.com/A535IR4' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi4.png?v=f' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a> | ||
doc.autoTable({ | ||
head: [['Name', 'Email', 'Country']] | ||
head: [['Name', 'Email', 'Country']], | ||
body: [ | ||
@@ -34,0 +34,0 @@ ['David', 'david@example.com', 'Sweden'], |
@@ -57,3 +57,3 @@ import {Table} from "./models"; | ||
pageNumber() { | ||
return this.doc.internal.getNumberOfPages() | ||
return this.doc.internal.getCurrentPageInfo().pageNumber | ||
} | ||
@@ -83,2 +83,2 @@ } | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
4040929
76766