BTL has a number of widgets that are intended to perform the most common layout tasks while developing an application user interface.
We will describe these widgets in this section and give you examples of their use. You can see the widgets in action by using the BTL Exerciser described at the end of this chapter.
We will look at the layout widgets in an alphabetical order. Therefore, the first one is accordion.
An accordion efficiently groups together content, only showing the selected accordionItem.
Note
accordion
and accordionItem
inherit from cardStack
and card
. They do not have local attributes or methods.
When a user clicks on one of the header panes in an accordion
, the body pane of the accordion
is revealed. All header elements are always visible. The sequence of panes is determined by the order of the child accordionItem
elements. By setting the selected
attribute to true
, you can determine which accordionItem
is selected when the widget is put on the page...