Member Junction
    Preparing search index...

    PillComponent - displays categorical values as colored pills

    Automatically determines color based on semantic meaning of the value. Works for status, type, category, priority, or any enum-like field.

    <!-- Auto-color based on value semantics -->
    <mj-pill [value]="record.Status"></mj-pill>

    <!-- Force a specific color -->
    <mj-pill [value]="record.Type" color="info"></mj-pill>
    Index

    Constructors

    Properties

    Accessors

    Constructors

    Properties

    color: PillColorType | null = null

    Optional: Force a specific color instead of auto-detecting

    value: string | null | undefined = ''

    The value to display in the pill

    Accessors