ActionBarΒΆ

/libs/granite/ui/components/coral/foundation/actionbar

A toolbar to display a list of items. Typically each item is a button.

It has the following content structure:

granite:ActionBar
  1. granite:commonAttrs
  2. granite:renderCondition
marginboolean

Put vertical margin to the root element.

sizestring
  1. M
  1. M
  2. L

The size of the ActionBar.

primary
mandatory

The primary list of items.

secondary

The secondary list of items.

Example:

+ myactionbar
  - sling:resourceType = "granite/ui/components/coral/foundation/actionbar"
  + primary
    + button1
      - sling:resourceType = "granite/ui/components/coral/foundation/button"
    + button2
      - sling:resourceType = "granite/ui/components/coral/foundation/button"
  + secondary
    + button1
      - sling:resourceType = "granite/ui/components/coral/foundation/button"
    + button2
      - sling:resourceType = "granite/ui/components/coral/foundation/button"