UNPKG

@blox/material

Version:

Material Components for Angular

41 lines (40 loc) 1.46 kB
import { AfterContentInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core'; import { MdcEventRegistry } from '../../utils/mdc.event.registry'; /** * Directive for a the scroll content of an `mdcTabScrollerArea`. This directive must wrap the * `mdcTab` directives for each of the tabs. */ export declare class MdcTabScrollerContentDirective { _el: ElementRef; constructor(_el: ElementRef); } /** * Directive for a the scroll area of an `mdcTabScroller`. This directive should have exactly one * `mdcTabScrollerContent` child directive. */ export declare class MdcTabScrollerAreaDirective { _el: ElementRef; constructor(_el: ElementRef); } /** * Directive for a scrollable tab bar. This directive should have exactly one * `mdcTabScrollerArea` child directive. */ export declare class MdcTabScrollerDirective implements AfterContentInit, OnDestroy { private _rndr; private _el; private registry; private onDestroy$; private document; private _adapter; constructor(_rndr: Renderer2, _el: ElementRef, registry: MdcEventRegistry, doc: any); ngAfterContentInit(): void; ngOnDestroy(): void; private initFoundation; private destroyFoundation; private _handleInteraction; private _handleTransitionEnd; private get _area(); private get _content(); } export declare const TAB_SCROLLER_DIRECTIVES: (typeof MdcTabScrollerContentDirective | typeof MdcTabScrollerDirective)[];