[SOLVED] $setState callback on Dom ready?


is there some kind of callback / ready when the rendering is finished? When I try to access DOM elements right after $setState, it fails. If I do it a few ms later (with setTimeout), it works… but this is just a dirty hack :wink:

You can try to use app.utils.nextFrame callback to get updated DOM for sure

1 Like