.. _dijit/layout/AccordionContainer: dijit.layout.AccordionContainer =============================== :Status: Draft :Version: 1.0 :Authors: Becky Gibson, Nikolai Onken :Developers: ?- :Available: since V? :jsDoc: http://api.dojotoolkit.org/jsdoc/HEAD/dijit.layout.AccordionContainer .. contents:: :depth: 2 Like :ref:`StackContainer ` and :ref:`TabContainer `, an **AccordionContainer** holds a set of panes whose titles are all visible, but only one pane's content is visible at a time. Clicking on a pane title slides the currently-displayed one away, similar to a garage door. Users can explicitly select the pane that is to be made visible when the widget is loaded. If it is not specified, then the first pane is taken by default. ======== Examples ======== In the example below, second pane is selected when the widget is loaded. Programmatic example -------------------- .. cv-compound:: .. cv:: javascript .. cv:: html
Declarative example ------------------- .. cv-compound:: .. cv:: javascript .. cv:: html
Hi!
Hi how are you?
Hi how are you? .....Great, thx
============= Accessibility ============= Keyboard -------- ========================================== ================================================= Action Key ========================================== ================================================= Navigate to next title Right or down arrow Navigate to previous title Left or up arrow Navigate into page Tab Navigate to next page Ctrl + page down, ctrl + tab (except IE7) Navigate to previous page Ctrl + page up ========================================== =================================================