scroll-actions
0.1.1 • Public • Published scroll-actions
Actions on scrolling to an element
import scrollActions from 'scroll-actions'
scrollActions({
actions: [
{
selectors: ['#some-element'],
onEnter: (el) => {
},
onLeave: (el) => {
},
},
]
})
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.1.1
0
Version History
Package Sidebar
Install
Weekly Downloads