-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## Feature | ||
| 方法 | 作用 | | ||
| --- | --- | | ||
| formatFloatNumber | 格式化十进制四舍五入保留小数位 | | ||
| addEvent、removeEvent | 兼容浏览器的 event 事件绑定 | | ||
| matchesSelector | 判断当前元素是否是目标 class | | ||
| matchesSelectorAndParentsTo | 找到从开始元素一直找到结束元素是否有目标 class | | ||
| LocalStorage | 封装localstorage方法 | | ||
| Events | 订阅发布 | | ||
| genAutoIdInit、genAutoId | 自增涨触发器 | | ||
| genAutoIdString | 获取一个永不重复的字符串 | |