- Components
- Sidemenu
Side Menu
Sidebar typically acts as the main menu for an application. It can be placed to the left or right of the screen. It supports mobile mode, show/hide, iconify-mode, multi level menu items.
This documentation site uses the sidemenu
as the main navigational component.
Example
Documentation
<t:sidemenu>
<t:li>Menu option 1</t:li>
</t:sidemenu>
Sidebar typically acts as the main menu for an application. It can be placed to the left or right of the screen. It supports mobile mode, show/hide, iconify-mode, multi level menu items.
Info
Tag name | sidemenu |
---|---|
Component type | io.tornadofaces.component.Sidemenu |
Renderer type | io.tornadofaces.component.SidemenuRenderer |
Attributes
Name | Description | Required |
---|---|---|
iconPosition | Icons, if added, are by default positioned to the left the text. Valid options are "top", "right", "bottom", "left". | false |
styleClass | Styles to apply to the ul element. | false |
style | CSS Styles applied to the ul element. | false |
color | The menu bar can be recolored to be dark, or match your primary color. Valid options are dark, primary. Default none. | false |
rendered | Should this component be rendered? | false |