New features in v1.0
See original GitHub issueAlright, i’m starting this thread for new features you’d like to see in ScrollTrigger v1.0. I’d like to make the options more JS instead of passing them as attributes. If you have any thoughts, please comment below.
So far i got:
- Different offsets for the ‘in’ and ‘out’ (including
addWith
andaddHeight
) - Using percentages and user defined functions as offset, for dynamic offsets
- Allowing multiple classes to be toggled
- Add logic to wait for animation to finish until toggling class
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Announcing Apollo Router v1.0 - Apollo GraphQL Blog
Apollo Router is now secure-by-default, has passed an independent security audit, and offers new security features like cross-site forgery ...
Read more >Tabs in Obsidian (new in v1.0) - YouTube
Introducing: Tabs in Obsidian v1. 0 ! Obsidian's latest release brings tab functionality to Obsidian, further adding to its flexibility in ...
Read more >Windows Terminal NEW Features: v1.0 v1.15 - YouTube
Did you know about these features ?My Previous Terminal Video: https://www.youtube.com/watch?v=9jQthJ2uvLI⇒ Become a channel member for ...
Read more >New function added in Version 10.0 fix packs - IBM
Fix pack V10.0.0.11 enhancements ; Cloud connectivity. Connectivity between IBM Integration Bus and IBM App Connect ; Platforms and environments.
Read more >Veeam Backup & Replication 10 - Top New Features
Cloud Tier Copy Policy, Immutability and Mount; Instant VM Recovery Enhancements; Linux Proxies; Data Integration API; NAS File Backup. I have ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It would be nice to define a function for the
offset
option, so it’s possible to calculate the offset dynamically.The current version of ScrollTrigger (0.3.x) has this as well, check out the
callScope
andshowCallback