Labels

Nuclia's label are done using Pastanaga's closeable chip component.

We provide them in different colors defined in LABEL_COLORS constant.

@for (color of colors; track color) { Color {{ $index }} }

Inputs

color
Hexadecimal color coming from LABEL_COLORS constant. (Optional: we use the first color of the const by default)
disabled
Disable the chip so the close button doesn't work anymore.

Outputs

removeLabel
Event triggered when clicking on the label’s close button.
{{code}}