Pulldown¶
-
/libs/granite/ui/components/coral/foundation/pulldown
A button component that will show/hide a popover of item list when activated.
It has the following content structure:
-
granite:Pulldown
- granite:commonAttrs
- granite:renderCondition
- granite:container
- textstring
- i18n
The body text of the button.
- hideTextboolean
Visually hide the text. It is RECOMMENDED that every button has a text for a11y purpose. Use this property to hide it visually, while still making it available for a11y.
- iconstring
The icon name. e.g. “search”.
-
iconSizestring
- S
- XS
- S
- M
- L
The size of the icon.
-
sizestring
- M
- M
- L
The size of the button.
- blockboolean
true
to render the button as a block element;false
otherwise.
-
variantstring
- primary
- warning
- quiet
- minimal
- actionBar
The variant of the button.
- trackingFeaturestring
The name of the feature that the interaction takes place.
See foundation-tracking.
- trackingElementstring
The element this component represent for the purpose of tracking. By default the value of
text
orgranite:title
is used.See foundation-tracking.
-
granite:Pulldown