question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New features in v1.0

See original GitHub issue

Alright, 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 and addHeight)
  • 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:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
thasmocommented, Jun 20, 2017

It would be nice to define a function for the offset option, so it’s possible to calculate the offset dynamically.

1reaction
terwanerikcommented, Jul 21, 2017

The current version of ScrollTrigger (0.3.x) has this as well, check out the callScope and showCallback

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found