Skip to content

延迟事件执行,提升性能,常用与resize, scroll等

Notifications You must be signed in to change notification settings

Aimeejs/delayEvent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delay Event

延迟事件执行,提升性能,常用与resize, scroll等

Aimeejs

aimee i delayevent --save

Node & Webpack

npm i delayevent --save

Usage

var de = new DelayEvent;

de.delay('resize', 60).done(() => console.log(123))
var de = new DelayEvent;

de.delay('scroll', 60).done(() => console.log(456))

About

延迟事件执行,提升性能,常用与resize, scroll等

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published