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
  1. left
  1. left
  2. right

The alignment of the item.

Example:

+ myactionbar
  - sling:resourceType = "granite/ui/components/foundation/container"
  + layout
    - sling:resourceType = "granite/ui/components/endor/layouts/actionbar"
  + items
    + button1
    + button2
      + layoutConfig
        - align = "right"