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
- granite:commonAttrs
- granite:renderCondition
- marginboolean
Put vertical margin to the root element.
-
sizestring
- M
- M
- 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"
-
granite:ActionBar