class for export html table data on page to excel files.
example use :
$(document).on('click', '#downloadExcel', function () {
htmlToExcel.download('idTable', 'fileName.xlsx');
});
or ES6:
downloadExcel.onclick = () => {
htmlToExcel.download('idTable', 'fileName.xlsx');
}
class for dynamic search animation
example html
<input type="text" id="search">
<ul id="list">
<li>Test 1</li>
<li>Test 2</li>
</ul>
example use ES6:
dynamicSearch.idSearch = 'search';
dynamicSearch.idList = 'list';
dynamicSearch.start();