UNPKG

@blox/material

Version:

Material Components for Angular

30 lines (29 loc) 981 B
import { EventEmitter, ElementRef, AfterContentInit, OnDestroy } from '@angular/core'; import { MdcTabChange } from './mdc.tab.directive'; /** * Directive for a tab bar. This directive must have an `mdcTabScroller` as only child. */ export declare class MdcTabBarDirective implements AfterContentInit, OnDestroy { _el: ElementRef; private document; private onDestroy$; private onTabsChange$; /** * Event emitted when the active tab changes. */ readonly tabChange: EventEmitter<MdcTabChange>; private _adapter; private _subscriptions; private _foundation; constructor(_el: ElementRef, doc: any); ngAfterContentInit(): void; ngOnDestroy(): void; private initFoundation; private destroyFoundation; private _listenTabSelected; private _unlistenTabSelected; private _setActive; private get _scroller(); private get _tabs(); } export declare const TAB_BAR_DIRECTIVES: (typeof MdcTabBarDirective)[];