ActionBarΒΆ
-
/libs/granite/ui/components/endor/layouts/actionbar
ActionBar is a layout that renders each items into a toolbar. Typically each item is an action button.
The items of the layout are specified using ItemDataSource.
Each item has the following content structure:
- granite:EndorLayoutsActionBarItem
-
alignstringel
- left
- left
- right
The alignment of the item.
-
alignstringel
Example:
+ myactionbar - sling:resourceType = "granite/ui/components/foundation/container" + layout - sling:resourceType = "granite/ui/components/endor/layouts/actionbar" + items + button1 + button2 + layoutConfig - align = "right"