标签:UNC class null on() bounce csharp deb return div
debounce(fn,delay=500) {
let timer = null
return function(){
if(timer){
clearTimeout(timer)
}
timer = setTimeout(fn,delay)
}
}
标签:UNC class null on() bounce csharp deb return div
原文地址:https://www.cnblogs.com/fm060/p/12817975.html