jschr / textillate

A jquery plugin for CSS3 text animations.
http://textillate.js.org
MIT License
3.66k stars 759 forks source link

Keep previous lines visible? #97

Open ladyisidore opened 8 years ago

ladyisidore commented 8 years ago

Is it possible to keep lines already displayed visible, i.e. instead of replacing them, insert the next animated line after them?

jschr commented 8 years ago

This is currently not possible. Depending on your use case, a workaround might be to call textillate on each line with different initial delays.

$('.tlt1').textillate()

$('.tlt2').textillate({ initialDelay: 1000 })

$('.tlt3').textillate({ initialDelay: 2000 })