Do you have an example? Typically if I am adding some kind of parameter I create a function for my TL and pass in parameters there. For example this is an animation I eventually used in a Vue app. If you go down to the startConfetti function you will see I used element and then passed in the elements I wanted to animate in the actually main timeline. codepen.io/cgorton/pen/81813f8b48b...
Is that the kind of thing you are asking?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article.
I have one question. Suppose you want to pass parameters dynamically to the tl timeline, how would you do that?
Do you have an example? Typically if I am adding some kind of parameter I create a function for my TL and pass in parameters there. For example this is an animation I eventually used in a Vue app. If you go down to the startConfetti function you will see I used element and then passed in the elements I wanted to animate in the actually main timeline.
codepen.io/cgorton/pen/81813f8b48b...
Is that the kind of thing you are asking?