- Components
- Tab
Tab
Tab for Accordion and TabView
The tab typically describes the icon, title and styles of each tab item header.
The title can be spesified as the
title
attribute, or as a facet with the same name if you want to include more sofisticated markup.
Example
Documentation
<t:tabView>
<t:tab title="Star Wars: Episode I" icon="icon-episode-1"/>
<t:tab title="Star Wars: Episode II" icon="icon-episode-2"/>
<t:tab title="Star Wars: Episode III" icon="icon-episode-3"/>
</t:tabView>
Tab for Accordion and TabView
Info
Tag name | tab |
---|---|
Component type | io.tornadofaces.component.Tab |
Renderer type | io.tornadofaces.component.AccordionRenderer |
Attributes
Name | Description | Required |
---|---|---|
title | The title of the tab window. Required unless the title facet is specified. | false |
styleClass | Styles to apply to the tab div. | false |
icon | Icon will be added as an i with the supplied icon value as a class attribute | false |
rendered | Should this component be rendered? | false |