1 Repo
Tracking the individual settings and playback status of specific animation instances.
Distinct from State-Driven Animations: Focuses on the internal state object of a library instance rather than global application state
Explore 1 awesome GitHub repository matching user interface & experience · Instance State Tracking. Refine with filters or upvote what's useful.
Sal is a lightweight vanilla JavaScript library designed to trigger CSS animations and execute custom logic as elements enter the browser viewport. It serves as a programmatic wrapper for the Intersection Observer API, providing a viewport trigger system to handle visibility thresholds and scroll-based animations. The library operates as a dependency-free frontend tool that manages animations through a class-based trigger mechanism and the injection of CSS custom properties. It includes a system for tracking dynamic content, allowing the observer to be updated to include new elements injected
Maintains individual animation settings and playback status within a lightweight internal state object.