From 37553faf3b641374d2ed7dd655bda3932b808af3 Mon Sep 17 00:00:00 2001 From: Travis Clarke Date: Mon, 1 May 2017 22:38:42 -0700 Subject: [PATCH] add additional comments for "defaults" --- src/stable/js/tableexport.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/stable/js/tableexport.js b/src/stable/js/tableexport.js index efdf17a..1fb03b3 100644 --- a/src/stable/js/tableexport.js +++ b/src/stable/js/tableexport.js @@ -319,10 +319,11 @@ filename: "id", // (id, String), filename for the downloaded file, (default: "id") bootstrap: true, // (Boolean), style buttons using bootstrap, (default: true) position: "bottom", // (top, bottom), position of the caption element relative to table, (default: "bottom") - ignoreRows: null, // (Number, Number[]), row indices to exclude from the exported file (default: null) - ignoreCols: null, // (Number, Number[]), column indices to exclude from the exported file (default: null) - ignoreCSS: ".tableexport-ignore", // (selector, selector[]), selector(s) to exclude cells from the exported file (default: ".tableexport-ignore") - emptyCSS: ".tableexport-empty" // (selector, selector[]), selector(s) to replace cells with an empty string in the exported file (default: ".tableexport-empty") + ignoreRows: null, // (Number, Number[]), row indices to exclude from the exported file(s) (default: null) + ignoreCols: null, // (Number, Number[]), column indices to exclude from the exported file(s) (default: null) + ignoreCSS: ".tableexport-ignore", // (selector, selector[]), selector(s) to exclude cells from the exported file(s) (default: ".tableexport-ignore") + emptyCSS: ".tableexport-empty", // (selector, selector[]), selector(s) to replace cells with an empty string in the exported file(s) (default: ".tableexport-empty") + trimWhitespace: false // (Boolean), remove all leading/trailing newlines, spaces, and tabs from cell text in the exported file(s) (default: false) }, /** * Character set (character encoding) of the HTML.