{
moveInOffset: 0, //dom移入可视范围时判断的偏移量
moveOutOffset: 0, //dom移出可视范围时判断的偏移量
eventWait: 300, //节流触发时间间隔,默认300ms
inFn: function (element) {
//移入可视区域callback
},
outFn: function (element) {
//移出可视区域callback
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
TyroneYvesChen/viewArea
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
判断可视区域
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published