-
Notifications
You must be signed in to change notification settings - Fork 68
wire dojo dijit
Brian Cavalier edited this page Oct 13, 2011
·
5 revisions
The wire/dojo/dijit
plugin provides integration with Dijit. It provides automatic lifecycle management for Dijits created using wire.js (see below for more information), a placeAt
facet for placing wire.js-created Dijits into the page, and a reference resolver, similar to dijit.byId for referencing Dijits created in the HTML page the dojoType
and data-dojo-type
HTML attributes.
{
module: 'wire/dojo/dijit'
// theme
// Set the current dijit theme for the page
// This will load the CSS and set the appropriate theme class on
// the body element
theme: 'claro'
}
The wire/dojo/dijit
plugin can load and activate any of Dijit's builtin themes. Simply set the theme
option to the name of the theme.
{
module: 'wire/dojo/dijit'
// Set the current dijit theme to claro
// This will load the CSS and set the appropriate theme class on
// the body element
theme: 'claro'
}
Note: wire.js relies on an AMD css! plugin, such as the css! plugin from curl.js, to load css.
More coming soon
More coming soon
More coming soon