Steady.js is a jank-free module to do logic on the onscroll event without performance regressions in @media-query like conditions. First, Steady attaches a handler to the onscroll event, that excutes the trackers. Then it calls another function that checks the conditions with values inside a requestAnimationFrame to avoid making the onscroll handler fat and slow, [...]
The post Steady.js – A Module to Do Logic for onScroll Event appeared first on WebAppers.
Sponsors
Professional Web Icons for Your Websites and Applications
from WebAppers http://ift.tt/1kpBoHN
via IFTTT
No comments:
Post a Comment