Skip to main content
View Demo Instead of using isolated delays for dozens of elements, the Squeditor framework allows unifying DOM nodes into automated Master Timelines directly from HTML using data-gsap-timeline. This is incredibly powerful for complex sequences and interactive button hovering.

Auto-playing Timelines

Defining a data-gsap-timeline creates a master sequence. Every child element inside that wrapper that possesses a GSAP attribute (data-gsap, data-gsap-split, data-gsap-draw, etc.) is automatically injected into that timeline in DOM order.
You can optionally pass the position parameter on individual children to override sequential ordering:
If you need a button to play a master timeline defined elsewhere in the DOM, link the button via standard playback data attributes passing the CSS ID string of the target timeline timeline: