[SOLVED] $setState callback on Dom ready?


#1

Hi,

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:


#2

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