【文件属性】:
文件名称:tablesort:用纯JavaScript编写的小型表排序器
文件大小:82KB
文件格式:ZIP
更新时间:2021-05-11 18:43:12
javascript tablesort JavaScript
表排序
一个小型且简单的排序组件,用于用JavaScript编写的表。
快速开始
下载此存储库的ZIP或通过命令行安装:
npm install tablesort
# Or if you're using Yarn
yarn add tablesort
< script src =' tablesort.min.js ' > </ script >
<!-- Include sort types you need -->
< script src =' tablesort.number.js ' > </ script >
< script src =' tablesort.date.js ' > </ script >
< script >
new Tablesort ( document . getElementById ( 'table-id' ) ) ;
</ scr
【文件预览】:
tablesort-gh-pages
----_config.yml(58B)
----.gitignore(12B)
----LICENCE(1KB)
----README.md(2KB)
----test()
--------test-phantom.js(623B)
--------tape.js(146KB)
--------test.client.js(1KB)
--------spec()
--------index.html(5KB)
----GruntFile.js(1KB)
----.eslintrc(627B)
----bower.json(561B)
----package.json(673B)
----dist()
--------tablesort.min.js(3KB)
--------sorts()
----src()
--------sorts()
--------tablesort.js(8KB)
----tablesort.css(628B)
----.travis.yml(142B)
----.editorconfig(76B)
----package-lock.json(110KB)
----demo()
--------_layouts()
--------_includes()
--------index.md(9KB)
--------style.css(9KB)