skybrud / sky-visible

[DISCONTINUED] sky-visible's sole purpose is to track an elements progress from A to B e.g. from the bottom to the top of the viewport
MIT License
3 stars 0 forks source link

Use ticker instead of scroll event #5

Closed matpeder closed 7 years ago

matpeder commented 9 years ago

Use rAF or (something like) TweenLite's ticker.

Ornhoj commented 7 years ago

After doing stress test with oldschool scroll event listener vs. rAF - we found the old way performed slightly better.