Dojo debugging
Tags: Dojo
One of the things that Dojo has been is easy to learn, there is so many great advantages to it that it makes using it a pleasure.One feature that those of you using Firebug in Firefox will appreciate is the ability to debug into firebug. That is correct, if I wanted to dump a dojo widget out and see it and all properties and methods. The code belwow will do just that
temnp = dojo.widget.byId('myWidget');
dojo.debugShallow(temp);
dojo.debugShallow(temp);
And you get a complete history of the object and values in the firebug console window. Couldn't be simpler.
There are no comments for this entry.



TweetBacks