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
  1. granite:commonAttrs
  2. granite:renderCondition
  3. 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
  1. S
  1. XS
  2. S
  3. M
  4. L

The size of the icon.

sizestring
  1. M
  1. M
  2. L

The size of the button.

blockboolean

true to render the button as a block element; false otherwise.

variantstring
  1. primary
  2. warning
  3. quiet
  4. minimal
  5. 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 or granite:title is used.

See foundation-tracking.