Read the statement by Michael Teeuw here.
Hello - I’m developing my first module and when I want to update the dom, I call the following methods:
If I set the
animationSpeedto something like 3 seconds, the text I added to the dom fades to nothing, which is not what I want. I want the text to stay persisted on the screen. If I set it to 0, the changes don’t show up at all. If I set it to a really really large value, the text does stay, but it seems to overload my processor’s CPU. How do I use the
updateDommethod to persist text on the screen? Thanks so much.
@russifer remove animation then?
@broberg I did remove the animation speed value, so instead didn’t pass anything into updateDom, but that causes the updates not to occur at all. The new text never appears on screen.
@russifer you might want to post or link your whole module, that makes debugging for others easier to find your mistake