<cla-badge>

Badge - Can be slotted in anywhere and will display a bootstrap styled badge (if used along side the cla-card-media you must use the slot name of "status").

If a colour attribute is added it will override the colour set in the styleclass attribute.

Usage

Properties

PropertyRequiredDescriptionTypeDefault
colourfalseThe background colour of the badge (optional)stringnull
styleclassfalseThe bootstrap styling of the badge i.e. badge badge-primary badge-pill etcstring"badge badge-primary"

Slots

SlotDescription
anyAllows badge content to be added