LoginSignup
0
0

More than 5 years have passed since last update.

Dojo.queryのパターン

Posted at

Dojo tool kitでdojo.queryを使うとき
公式のショートカット

指定したもの全て返すので
dojo.query().forEach()が普通。

dojo.query("div#main")
dojo.query("#id")
dojo.query(".class")
dojo.query(".class1.class2") => and
dojo.query(".class1, .class2") => or
dojo.query(".class1:not(.class2)") => not

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0