UNPKG

nativescript-bubble-navigation

Version:

Nativescript plugin for Android & iOS that create beautiful navigation tabs

30 lines (29 loc) 1.36 kB
/// <reference path="platforms/ios/bubble-navigation.ios.d.ts" /> import { BubbleNavigationBase, BubbleNavigationItemBase } from "./bubble-navigation.common"; export declare class BottomBarControllerDelegate extends NSObject implements UITabBarControllerDelegate { static ObjCProtocols: { prototype: UITabBarControllerDelegate; }[]; private _owner; static initWithOwner(owner: WeakRef<BubbleNavigation>): BottomBarControllerDelegate; tabBarControllerDidSelectViewController(tabBarController: UITabBarController, viewController: UIViewController): void; } export declare class BubbleNavigation extends BubbleNavigationBase { _tabBarController: BubbleTabBarController; private _delegate; nativeView: any; readonly ios: any; createNativeView(): Object; initNativeView(): void; disposeNativeView(): void; private setViewControllers; private createItem; private createItemViewController; onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; bindTabs(tabs: BubbleNavigationItem[]): void; protected selectTabNative(index: number): void; } export declare class BubbleNavigationItem extends BubbleNavigationItemBase { nativeView: CBTabBarItem; constructor(title: string, icon: string, colorActive?: string, colorInactive?: string); }