Overview of Stock Dijits
Because Dojo's widget collection is incredibly extensive, it can be easy to get lost. This section presents a concise inventory of dijits so that you may be familiarized with what's available.
Form Dijits
The very naming convention for a category of "form dijits"
implies that the dijits are designed to be used inside of a form.
While this is certainly true, form dijits may also be used outside
of forms or in a special dijit.form.Form dijit that provides some
extra methods and extension points. Here's a very brief overview of
what is included in each of those chapters. Recall that all dijits
are a11y compatible and easily internationalized, where
applicable.
Tip
Go to http://archive.dojotoolkit.org/nightly/ to view the Dijit test harnesses that contain all of these widgets. It's a great way to get a feel for just how much breadth and depth there really is.
FormA special container for form widgets that provides handy methods and extension points for serializing to JSON, validating the entire form's contents, setting values for the form all at once, and event handling when the form is submitted.
ButtonvariationsDrop-in replacements for ordinary buttons based on
BUTTONelements as well as other button-like controls based onINPUTelements like checkboxes and radio elements. Additional button variations include menu-style buttons that have drop-down values (sort of like combo boxes) that are commonly shown in toolbars, and toggle buttons that commonly appear in toolbars ...
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