tl-tools v1.0.0
函数 | 描述 | 传参 | 返回值 |
---|---|---|---|
debounce | 防抖 | fn,Number | function |
throttle | 节流 | fn,Number | function |
randomString | 随机数 | - | String |
once | 一次函数 | fn,Number | function |
arraySort | 数组排序 | Array,Boolean | Array |
函数 | 描述 | 传参 | 返回值 |
---|---|---|---|
debounce | 防抖 | fn,Number | function |
throttle | 节流 | fn,Number | function |
randomString | 随机数 | - | String |
once | 一次函数 | fn,Number | function |
arraySort | 数组排序 | Array,Boolean | Array |
npm i xl-tools
1
1.0.1
ISC
1.37 kB
3