UNPKG

ng-zorro-antd-mobile

Version:

An enterprise-class mobile UI components based on Ant Design and Angular

38 lines (37 loc) 1.21 kB
import { QueryList, Renderer2, ElementRef, AfterViewInit } from '@angular/core'; export declare type TabBarPositionType = 'top' | 'bottom' | 'left' | 'right'; export declare class DefaultTabBarComponent implements AfterViewInit { private _renderer; prefixCls: string; inkBarStyle: object; tabsBarStyle: object; showPrev: boolean; showNext: boolean; selectedKey: number; inkBarOffSet: number; inkBarLength: number; tabBarNavSwipedPosition: number; tabBarNavSwipingPosition: number; private _startPosition; tabTitles: QueryList<ElementRef>; tabsBarSwipe: ElementRef; page: number; animated: boolean; tabBarUnderlineStyle: object; tabBarBackgroundColor: string; tabBarPosition: TabBarPositionType; activeTab: number; tabBarWrap: boolean; constructor(_renderer: Renderer2); onTouchStart(event: any): void; onTouchMove(event: any): void; onTouchEnd(): void; onContentChange(): void; ngAfterViewInit(): void; private setTabsStyle; private setTabBarStyleCenter; private setInkBarStatus; private setTabBarNavSwipingPosition; private setTabBarNavSwipedPosition; private getTabSize; }