Micro library to export a table as a csv file
exportTable.init({
downloadID: 'downloadID',
downloadTable: 'downloadTable',
filename: 'export.csv'
});
exportTable.init(options)
downloadID
the ID of the button to download the csvdownloadTable
the ID of table (it must include a tbody element)filename
the name of downloaded csv file