User Events

With our user events and animation triggers, you can now seamlessly integrate animations that respond to user actions. Whether it's a click, hover, scroll, or any other user event, our system allows you to effortlessly associate animations with these actions, creating engaging and immersive interactions. Imagine stunning image transitions on hover, subtle element fades on scroll, or dynamic button effects on click.

Hover

        --hover-duration: 0.3s;
        --hover-easing: ease-in-out;
      

Click

        // Initialize library
        var ex = new EX().init();

        // Call the animation event on item whenever required
        ex.triggerAnimation(item);
      

Scroll

        // Initialize library
        var ex = new EX().init();

        // Item animation will be triggered when user scrolls to it
        <div class="fade-in ex-watch">
          Lorem Ipsum
        </div>