margin: 0 auto;
text-align: center;
}
Layouts
Dojo provides some powerful layout capabilities. In addition, we can always use the classic HTML
layouts such as tables.
<table>
<tr>
<td>
<td>
</tr>
</table>
See also:
• Layout with Dijit – 1.9
• PACKT – Layout in Dojo: Part 1 - 2009-07
dijit/layout/ContentPane
The ContentPane is a container for other widgets and markup.
The function called "addChild()" can be used to add another Dijit into the ContentPane.
Properties:
• href
• preload
• refreshOnShow
• loadingMessage
• errorMessage
• isLoaded
See also:
• Docs – dijit/layout/ContentPane – 1.9
dijit/layout/AccordionContainer
The Accordion Container contains a series of panels where only one is shown at a time. The titles
of the other panels are also shown and clicking one of these makes the selected panel shown while
hiding the previously selected panel.
Page 166
Comentarios a estos manuales