UNPKG

ng-zorro-antd-mobile

Version:

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

29 lines (28 loc) 950 B
import { AfterContentInit, QueryList, EventEmitter } from '@angular/core'; import { TabBarItemComponent } from './tab-bar-item.component'; export declare type TabBarTabPositionType = 'top' | 'bottom'; export interface TabBarOnPressEvent { index: number; title: string; key: string; } export declare class TabBarComponent implements AfterContentInit { prefixCls: string; private _activeTab; private _tintColor; private _unselectedTintColor; tabBarItems: QueryList<TabBarItemComponent>; hidden: boolean; prerenderingSiblingsNumber: number; activeTab: number; barTintColor: string; tabBarPosition: TabBarTabPositionType; tintColor: string; unselectedTintColor: string; onPress: EventEmitter<TabBarOnPressEvent>; tabBar: boolean; constructor(); selectTabBarItem(index: number): void; tabBarTabOnPress(pressParam: TabBarOnPressEvent): void; ngAfterContentInit(): void; }