Summary
After reading this chapter, you should:
Be able to use
dojo.queryto universally find nodes in the pageHave a basic understanding of CSS selector syntax
Be familiar with
NodeLists and recognize the various mappings that hold to other functions such as the Array utilities that the toolkit offersBe able to chain together the results from
NodeListmethods to cleanly and rapidly process DOM elementsBe aware that it's possible to hack
NodeListand instead opt to use other utilities in the toolkitBe able to use
NodeLists to place DOM nodes, handle animations, set up connections, and manage styleUnderstand the value in extending
NodeListwith custom operations so as to minimize the effort in processing the results fromdojo.queryBe aware of the benefits from decoupling DOM events from an HTML placeholder and how you can achieve this via the
behaviormodule
A discussion of internationalization is coming up next.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access