Servis-Rhino 4211B Guia do Utilizador Página 167

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 298
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 166
"AccordionContainer" is part of dijit.layout. The "panels" in the accordion are added
via the "addChild()" method. Typically, the child is a ContentPane which can supply a title
as well as content.
myAccordion.addChild(new ContentPane({
title: "My Title",
content: "My content"
}));
See also:
Create a Simple Dojo Accordion - 2010-08-17
dijit/layout/TabContainer
The Tab Container can host a series of Content Panes where each pane shows in its own tab. When
one pane is shown, the others are hidden. Switching between panes is achieved by clicking the tab
buttons. The "title" attribute of the child Content Pane is used as the text label on the tab to
show that specific content pane.
The location of the tabs can be controlled by the "tabPosition" property. The choices allow the
tab switching buttons to appear either on the top, bottom, left or right of the tab container.
Some of the more interesting properties of TabContainer include:
tabPosition – The location of the tabs. This may be one of:
top
bottom
left-h
Page 167
Vista de página 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 297 298

Comentários a estes Manuais

Sem comentários