UNPKG

sort-table-with-binwin

Version:
29 lines (19 loc) • 1.3 kB
# [NPM]-Sorting-Table-by-[Binwin Viju](https://binwinviju.co.in/ "Visit Binwin Viju website") - šŸ‘‹ Hi, I’m @Binwin6724 - šŸ‘€ I’m interested in Developing Application - 🌱 I’m currently learning React JS - šŸ’žļø I’m looking to collaborate on API Handling - šŸ“« Reach me by going to this website [Binwin Viju](https://binwinviju.co.in/ "Visit Binwin Viju website"). ## Things to look before In order to get this work there are some requirements that needed to be met. ## Requirements * Table class name must be : table-sortable ```<table class = "table-sortable">``` * Table heading must be inside thead : ```<thead><tr><th>example header</th></tr></thead>``` ## How things works :- * For a Vide tutorial visit [npm package walkthrough](https://youtu.be/s5cUbiavu24 "Click here to get an idea how things work"). * We need to run [this](https://www.npmjs.com/package/sort-table-with-binwin "sort-table-with-binwin") command to get the package to your project. ```npm i sort-table-with-binwin``` * After running that we need to source package named **sort-table.js** to your project like ```<script src="./node_modules/sort-table-with-binwin/sort-table.js"></script>``` this must be added above **```</body>```** **Happy Hacking!!**