pills
Overview
pills
appear next to the header
of a list-item
. They can be used to convey status-like information about the item in a dynamic and colorful way. Pills can either be declared in the view XML (Static pills) or in the view JS/TS (Dynamic pills).
Example: Static pills
main.view.xml
main.js
Example: Dynamic pills
main.view.xml
main.js
Standard Attributes
None
Advanced Attributes
list
list
Required
Default: unset
Shorthand supported? false
An array of pill
objects. The list
attribute makes pills dynamic - i.e. the pills can be constructed dynamically using your app's JS/TS.
show-if
and hide-if
show-ifhide-ifshow-if
and hide-if
Last updated