Hi Everyone!

Just a quick question: Can anyone suggest a simple way to fade out some old 
text and fade in some new text when a `model.text` value changes?

I did this once a few apps ago where I created 2 `div` layers: 
`currentText` and `previousText`
Then, when the text value changed, I moved the text to the previousText 
layer and faded it out, and then displayed the updated text on the 
currentText layer and faded it in.
(I used `elm-html-animation` for the fade effect.)

Does this seem reasonable or is there a better, easier way?

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to