API reference for SfTabsComponent

import {SfTabsModule} from "@progress/sitefinity-component-framework";


selector: sf-tabs description: Represents a tabs component with several tabs

Hierarchy (view full)

Implements

  • AfterContentInit
  • OnChanges

Constructors

Properties

cssClassList: string = stringConstants.EMPTY_STRING

The css class list of the wrapper

currentTab: SfTabDirective

The currently selected tab

hasTabsListSection: boolean = true

Whether there are tabs to display

initialTabName: string

Sets the initially selected tab

tabList: QueryList<SfTabDirective>

Gets the content children of type SfTabDirective Each on represents a single tab

tabsLook: string

Sets the css modifiers of the wrapper

Methods

  • Whether a tab is selected

    Parameters

    • tabName: string

    Returns boolean

  • Handles component loader init event

    Parameters

    Returns void

  • Returns void

  • Parameters

    • changes: SimpleChanges

    Returns void

  • Returns void

  • Handles tab selection Emits the tabClick event

    Parameters

    Returns void

  • Parameters

    • sub: Subscription

    Returns void

  • Selects tab by name If tab is not found and there is no current tab, selects the first tab

    Parameters

    • tabName: string

    Returns void

Generated using TypeDoc