Member Junction
    Preparing search index...

    Implements

    • AfterContentInit
    • AfterContentChecked
    • AfterViewInit
    Index

    Constructors

    Properties

    _selectedTabIndex: number = 0
    BeforeTabClosed: EventEmitter<TabCancelableEvent> = ...

    This event is fired before a tab is closed. If you set cancel to true, the tab will not be closed.

    BeforeTabSelected: EventEmitter<TabCancelableEvent> = ...

    This event is fired before a tab is selected. If you set cancel to true, the tab will not be selected.

    FillHeight: boolean = true
    FillWidth: boolean = true
    ResizeContainer: EventEmitter<any> = ...

    This event is raised whenever the TabStrip component determines it would be advisable to conduct any necessary resizing action in the parent container. Implement an event handler to handle this, if desired, for your application.

    ScrollAmount: number = 150

    This property determines how many pixels to scroll when the scrollLeft or scrollRight methods are called.

    showLeftButton: boolean = false
    showRightButton: boolean = false
    tabBodies: QueryList<MJTabBodyComponent>
    TabClosed: EventEmitter<TabClosedEvent> = ...

    This event is fired after a tab is closed.

    TabContextMenu: EventEmitter<TabContextMenuEvent> = ...

    This event is fired when a tab is right-clicked and the context menu event from the tab header fires.

    tabInnerContainer: ElementRef
    tabs: QueryList<MJTabComponent>
    TabScrolled: EventEmitter<any> = ...

    This event is fired whenever the tab control is scrolled left or right. This event can be invoked either due to a user clicking on the left/right buttons or by calling the scrollLeft/scrollRight methods, or by the ScrollIntoView method being called.

    TabSelected: EventEmitter<TabEvent> = ...

    This event is fired when a tab is selected.

    OutputDebugInfo: boolean = false

    Accessors

    Methods

    • Method will close the specified tab number. It is automatically called by a tab that has TabCloseable set to true, if the user clicks the close button, and can be called programatically as well.

      Parameters

      • tabIndex: number

      Returns Promise<void>

    • A callback method that is invoked immediately after the default change detector has completed checking all of the directive's content.

      Returns void

    • A callback method that is invoked immediately after Angular has completed initialization of all of the directive's content. It is invoked only once when the directive is instantiated.

      Returns void

    • A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.

      Returns void

    • Call this method if you are ever dynamically adding or removing tabs from the component over time using

      Returns void

      or *ngIf or other similar methods. This will force the tab strip to re-evaluate the tabs and tab bodies and update the display accordingly.

    • This method will scroll the specified tab index into view if it is not currently visible in the tab strip.

      Parameters

      • tabIndex: number

      Returns void

    • This method will attempt to set the current tab by name. If the tab is found, it will be selected and the method will return the tab object. If the tab is not found, the method will return undefined.

      Parameters

      • tabName: string

      Returns MJTabComponent | undefined