ng-zorro-antd-mobile
Version:
An enterprise-class mobile UI components based on Ant Design and Angular
44 lines (43 loc) • 2.05 kB
TypeScript
import { QueryList, Renderer2, ElementRef, AfterContentInit, ChangeDetectorRef } from '@angular/core';
import { TabBarPositionType } from './PropsType';
import * as i0 from "@angular/core";
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;
get activeTab(): number;
set activeTab(index: 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;
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultTabBarComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultTabBarComponent, "DefaultTabBar, nzm-default-tab-bar", never, { "page": { "alias": "page"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; "tabBarUnderlineStyle": { "alias": "tabBarUnderlineStyle"; "required": false; }; "tabBarBackgroundColor": { "alias": "tabBarBackgroundColor"; "required": false; }; "tabTitleSize": { "alias": "tabTitleSize"; "required": false; }; "tabBarPosition": { "alias": "tabBarPosition"; "required": false; }; "activeTab": { "alias": "activeTab"; "required": false; }; }, {}, ["tabTitles"], ["*"], false, never>;
}