Class IgcDropdownItemComponent

Represents an item in a dropdown list.

element

igc-dropdown-item

slot

prefix - Renders content before the item's main content.

slot
  • Renders the item's main content.
slot

suffix - Renders content after the item's main content.

csspart

prefix - The prefix wrapper.

csspart

content - The main content wrapper.

csspart

suffix - The suffix wrapper.

Hierarchy

  • LitElement
    • IgcDropdownItemComponent

Index

Constructors

  • Returns IgcDropdownItemComponent

Properties

active: boolean = false

Determines whether the item is active.

disabled: boolean = false

Determines whether the item is disabled.

selected: boolean = false

Determines whether the item is selected.

styles: CSSResult = styles
tagName: "igc-dropdown-item" = 'igc-dropdown-item'

Accessors

  • get value(): string
  • set value(value: string): void

Methods

  • connectedCallback(): void