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

Hierarchy

  • IgcBaseOptionLikeComponent
    • IgcDropdownItemComponent

Constructors

Properties

active: boolean = false

Whether the item is active.

Attr

disabled: boolean = false

Whether the item is disabled.

Attr

selected: boolean = false

Whether the item is selected.

Attr

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

Accessors

Methods