Member Junction
    Preparing search index...

    Represents the tab in the header of a given tab strip

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    elementRef: ElementRef
    index: number
    TabCloseable: boolean = false

    Determines if the tab can be closed by a user, or not. Defaults to false.

    Accessors

    • get Props(): any

      A property bag that can be used to store any additional properties that you want to associate with this tab.

      Returns any

    • set Props(value: any): void

      Parameters

      • value: any

      Returns void

    • get TabSelected(): boolean

      Determines if the tab is currently selected or not. This is set by the TabStrip component automatically when the SelectedTabIndex is set, do not set this directly.

      Returns boolean

    • set TabSelected(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    Methods

    • Event handler for when the close button is clicked on the tab. This will fire the BeforeTabClosed event on the TabStrip component, and if it is not cancelled, will then fire the AfterTabClosed event.

      Parameters

      • $event: MouseEvent

      Returns void

    • Event handler for when this tab is clicked to select it, generally not a great idea to call this directly, but it is possible to call directly to simulate a click. The preferred approach is to set the SelectedTabIndex property on the TabStrip component directly.

      Returns void