nativescript-bottom-navigation
Advanced tools
Comparing version 1.1.0 to 1.1.2
@@ -1,1 +0,4 @@ | ||
export * from "./nativescript-bottom-navigation.module"; | ||
import { NgModule } from '@angular/core'; | ||
@NgModule() | ||
export declare class NativescriptBottomNavigationModule {} |
@@ -1,3 +0,3 @@ | ||
import { BottomNavigationBase, BottomNavigationTabBase } from './bottom-navigation.common'; | ||
import { EventData } from 'tns-core-modules/data/observable'; | ||
import { AddChildFromBuilder, View } from 'tns-core-modules/ui/core/view'; | ||
@@ -9,5 +9,5 @@ export declare interface OnTabSelectedEventData extends EventData { | ||
export declare class BottomNavigation extends BottomNavigationBase { | ||
export declare abstract class BottomNavigationBase extends View implements AddChildFromBuilder { | ||
public tabs: BottomNavigationTab[]; | ||
public tabs: BottomNavigationTabBase[]; | ||
@@ -22,2 +22,24 @@ public selectedTabIndex: number; | ||
public selectTab(index: number): void; | ||
_addChildFromBuilder(name: string, value: any): void; | ||
protected abstract selectTabNative(index: number): void; | ||
} | ||
export declare class BottomNavigationTabBase { | ||
public title: string; | ||
public icon: string; | ||
public selectable: boolean; | ||
parent: WeakRef<BottomNavigationBase>; | ||
constructor(title: string, icon: string, selectable?: boolean, parent?: WeakRef<BottomNavigationBase>); | ||
} | ||
export declare class BottomNavigation extends BottomNavigationBase { | ||
readonly ios: any; | ||
@@ -31,4 +53,2 @@ | ||
public selectTab(index: number): void; | ||
protected selectTabNative(index: number): void; | ||
@@ -35,0 +55,0 @@ } |
{ | ||
"name": "nativescript-bottom-navigation", | ||
"version": "1.1.0", | ||
"version": "1.1.2", | ||
"description": "Nativescript plugin to add a bottom navigation component for Android & iOS", | ||
@@ -9,3 +9,3 @@ "main": "bottom-navigation", | ||
"platforms": { | ||
"android": "3.0.0", | ||
"android": "3.0.1", | ||
"ios": "3.0.0" | ||
@@ -41,6 +41,8 @@ } | ||
"JavaScript", | ||
"Typescript", | ||
"Android", | ||
"iOS", | ||
"Henry Chavez", | ||
"Bytpher" | ||
"Bytpher", | ||
"Bottom Navigation" | ||
], | ||
@@ -47,0 +49,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51926
23
600