A closed pane's header has a visually distinctive look than that of an open pane.
If a closed pane is opened, all the panes beneath it are pushed lower down in the page. Conversely,
if a pane is closed, all the panes south of it will slide up. For the child panes, if they have an
attributed called "selected" set to true, then when the Accordion is initially shown, they will initially
be open.
An alternative move of operation of the Accordion forces it to have only one child pane open at a
time. This is controlled by the "singleOpen" attribute. If set to true (default is false) then the
opening of one pane will close all the others.
Some of the key properties of this widget are:
• singleOpen – A boolean with a default of false. If set to true, opening one pane causes
the closure of all the others.
• fixedHeight – If set to true, the Accordion has a fixed height. If this property is used,
set the height of the Accordion through its style attribute (height).
• animation – If set to true (default), animation will be used to slide other panes around.
The Accordion seems to have display problems within the Rich Page Editor. Child
panes don't seem to be editable or visual within the visual canvas area and have to be edited at the
HTML source level.
See also:
• dojox/mobile/ContentPane
• dojox/mobile/Pane
dojox/mobile/Button
This widget displays a click-able button. Some of its core properties of interest include:
• label – The label to be shown on the button. If defined in HTML, the text element child
of the containing element can be used.
• onClick – A function callback that will be invoked when the button is pressed.
See also:
• dojox/mobile/CheckBox
dojox/mobile/CheckBox
This widget display a check box which can be either checked or not checked. The check box does
Page 233
Comentários a estes Manuais