-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 changed file
with
3 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
## 防抖原理 | ||
|
||
> 持续触发某个事件,每隔一段时间发送一次数据是节流; | ||
> 持续触发某个事件,在一段时间内持续触发会重新计时的是防抖。 | ||
## 引用方法 | ||
|
||
now 方法:获取当前时间戳 | ||
|