Class IgcTabComponent

Represents the tab header.

Element

igc-tab

Slot

prefix - Renders before the tab header content.

Slot

  • Renders the tab header content.

Slot

suffix - Renders after the tab header content.

Csspart

content - The content wrapper.

Csspart

prefix - The prefix wrapper.

Csspart

suffix - The suffix wrapper.

Hierarchy

Hierarchy

  • LitElement
    • IgcTabComponent

Constructors

  • Returns IgcTabComponent

Properties

disabled: boolean = false

Determines whether the tab is disabled.

Attr

panel: string = ''

The id of the tab panel which will be controlled by the tab.

Attr

selected: boolean = false

Determines whether the tab is selected.

Attr

styles: CSSResult[] = ...
tagName: "igc-tab" = 'igc-tab'

Methods

  • Sets focus to the tab.

    Parameters

    • Optional options: FocusOptions

    Returns void