UNPKG

ngc-scrolling-tabs

Version:

This component is a scrollable responsive tab component build on Angular 8 and Bootstrap 4. The left and right nav buttons will scroll one tab at a time. The component will track what tab is open and re-navigate to the open tab when the screen is refreshe

18 lines (17 loc) 579 B
import { ElementRef, Renderer2, OnInit, OnDestroy } from '@angular/core'; import { ScrollingTabsComponent } from './scrolling-tabs.component'; export declare class ScrollingTabDirective implements OnInit, OnDestroy { private tabs; private elementRef; private renderer; id: string; title: string; active: boolean; constructor(tabs: ScrollingTabsComponent, elementRef: ElementRef, renderer: Renderer2); ngOnInit(): void; ngOnDestroy(): void; getTabClasses(): { 'nav-link': boolean; active: boolean; }; }