Skip to content

svp1989/sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

sandbox

js/htmlToExcel.js

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');
     }

js/dynamicSearch.js

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();

About

Sandbox of useful mini-scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published