ng-zorro-antd-mobile
Version:
An enterprise-class mobile UI components based on Ant Design and Angular
40 lines (39 loc) • 1.28 kB
TypeScript
import { QueryList, Renderer2, ElementRef, AfterContentInit, ChangeDetectorRef } from '@angular/core';
import { TabBarPositionType } from './PropsType';
export declare class DefaultTabBarComponent implements AfterContentInit {
private _renderer;
private _ref;
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;
tabTitleSize: number;
tabBarPosition: TabBarPositionType;
activeTab: number;
tabBarWrap: boolean;
constructor(_renderer: Renderer2, _ref: ChangeDetectorRef);
onTouchStart(event: any): void;
onTouchMove(event: any): void;
onTouchEnd(): void;
onContentChange(): void;
ngAfterContentInit(): void;
private setTabsStyle;
private setTabBarStyleCenter;
private setInkBarStatus;
private setTabBarNavSwipingPosition;
private setTabBarNavSwipedPosition;
private getTabSize;
}