Class IgcChipComponent

Chips help people enter information, make selections, filter content, or trigger actions.

igc-chip

  • Renders the chip data.

prefix - Renders content before the data of the chip.

suffix - Renders content after the data of the chip.

igcRemove - Emits an event when the chip component is removed. Returns the removed chip component.

igcSelect - Emits event when the chip component is selected/deselected and any related animations and transitions also end.

base - The base wrapper of the chip.

prefix - The prefix container of the chip.

suffix - The suffix container of the chip.

Hierarchy

Hierarchy

  • EventEmitterInterface<IgcChipEventMap, this> & LitElement<this>
    • IgcChipComponent

Properties

disabled: boolean = false

Sets the disabled state for the chip.

removable: boolean = false

Defines if the chip is removable or not.

selectable: boolean = false

Defines if the chip is selectable or not.

selected: boolean = false

Defines if the chip is selected or not.

variant: StyleVariant

A property that sets the color variant of the chip component.

tagName: "igc-chip" = 'igc-chip'

Returns the HTML-uppercased qualified name.

MDN Reference