Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const instance = basicScroll.create({
- elem: document.querySelector('.entry'),
- from: 'top-bottom',
- to: '100px',
- props: {
- '--ty': {
- from: '300px',
- to: '0',
- // timing: 'elasticOut',
- direct: true
- }
- }
- })
- instance.start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement