Jump to content


Animating speach bubble text array Gsap and Alpine.js

Moderator Tag
Go to solution Solved by JamesGrubb,

Recommended Posts

Hello I have an a pen where on an 'onUpdate' function I would like to add the next paragraph from an array of paragraphs. I think the setup is close but not quite sure how to increment the index? Thanks in advance

See the Pen vYXKVLP by limitedunlimited (@limitedunlimited) on CodePen

Link to comment
Share on other sites

  • Solution

Fixed it . needed 

toFixed(0) when calling the array


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.