I think this question is asked, but I am surprised to see that Dojo is not behaving according to the docs . I want some developers to be replaced with a special class. So I decided to use it
dojo.ready (function () {});
But this page was running completely before loading. Then I used the addonload () function. At the end, I ended up doing something like this
is needed ([dojo / domReady]], function (domReady) {domReady (function () { SetTimeout (function () {setAfrobeat ();}, 500);});});
This is working fine, but sometimes I see a nap because there is a delay, and sometimes it also does not work. If I increase this time period from 1000, it always works, but the user can see the content modification. In any correct way like I did in the jquery document. First
Regards
Adam
the way you DomReady are loading "!" As with Dojo plugin, instead of a special module, according to the dojo documentation, see using the plugin.
To use domReady, it should look properly.
is required (["Dojo / Dome Readie!"], Function () {/ / DOM Loading will not end until}};
How and when to use dojo / domReady! Vs Dojo / Ready
No comments:
Post a Comment