Hi,
I'm working with timelines, and after certain steps, it sometimes makes sense to add / remove elements from the DOM. Something like this:
tl.to('.element', 1, { /*params to change*/})
tl.to('.element', .5, { /*params to change*/,
onComplete: () => //figure out if i need to add some elements and then add them
})
tl.to('.newElements', 1, { /*params to change*/})
I was facing problems for a while where nodes I added ('.newElements' above) wouldn't animate. Eventually I tried adding those elements before the animation started, with an opacity of 0, and th