Dojo (1) Hello Dojo !!

I have been using easyui before, and I am ready to start learning DOJO. I will summarize the records here every time.

1.dojo.ready

 

< p>If js has been introduced in this form:

< /p>

 

dojo.ready () will be invalid

2.dojo.require

is similar to import in java. It is used to declare the dependency of a specific module and load dojo. In js, not all the dojo tools are loaded, but some core modules are loaded

introduce Module Animation example:

< /span>

 dojo.require("dojo.fx");//Introduce the module dojo.ready(function(){ dojo.byId ("greeting").innerHTML += "Hello DOJO"; //Animation effect, slide into dojo.fx.slideTo({ top: 500, left: 900, node: dojo.byId("greeting") }).play (); });

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5756 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.