@nativescript-community/ui-material-bottomnavigationbar
Version:
Material Design Bottom Navigation bars allow movement between primary destinations in an app. Tapping on a bottom navigation icon takes you directly to the associated view or refreshes the currently active view.
31 lines (30 loc) • 1.2 kB
TypeScript
import { BottomNavigationBarBase, BottomNavigationTabBase } from './bottomnavigationbar-common';
export declare class BottomNavigationBar extends BottomNavigationBarBase {
nativeViewProtected: MDCBottomNavigationBar;
_items: BottomNavigationTab[];
private _delegate;
createNativeView(): Object;
initNativeView(): void;
disposeNativeView(): void;
layoutNativeView(left: number, top: number, right: number, bottom: number): void;
showBadge(index: number, value?: number): void;
removeBadge(index: number): void;
protected createTabs(tabs: BottomNavigationTab[] | undefined): void;
protected selectTabNative(index: number): void;
}
declare class MDCBottomNavigationItemView extends UIView {
selectedItemTintColor: UIColor;
unselectedItemTintColor: UIColor;
selectedItemTitleColor: UIColor;
badgeTextColor: UIColor;
badgeColor: UIColor;
}
export declare class BottomNavigationTab extends BottomNavigationTabBase {
nativeViewProtected: UITabBarItem;
createNativeView(): UITabBarItem;
getNativeIcon(): UIImage;
getMDView(): MDCBottomNavigationItemView;
showBadge(value?: number): void;
removeBadge(): void;
}
export {};