nativescript-material-bottomnavigationbar
Version:
NativeScript plugin to add a bottom navigation bar component for Android & iOS
24 lines (23 loc) • 960 B
TypeScript
import { BottomNavigationBarBase, BottomNavigationTabBase } from './bottomnavigationbar-common';
export declare class BottomNavigationBar extends BottomNavigationBarBase {
nativeViewProtected: MDCBottomNavigationBar;
_items: BottomNavigationTab[];
constructor();
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;
}
export declare class BottomNavigationTab extends BottomNavigationTabBase {
nativeViewProtected: UITabBarItem;
createNativeView(): UITabBarItem;
getNativeIcon(): UIImage;
getMDView(): any;
showBadge(value?: number): void;
removeBadge(): void;
}