3.0.8 • Published 5 years ago

nativescript-bottombar v3.0.8

Weekly downloads
97
License
-
Repository
github
Last release
5 years ago

npm npm twitter: @_rhanb Build Status

NPM

NativeScript BottomBar :beers::fire::fr:

NativeScript plugin for BottomNavigationView and UITabBar.

PS: To have a material design on iOS too, free to use the plugin nativescript-bottom-navigation

No third libraries are used in this plugin, wich means this plugin is lightweight because only javascript files will be added to your app.

iOSAndroid
iOSAndroid

Installation

tns plugin add nativescript-bottombar

Usage

API documentation

Common Usage

Icons

The properties icon and checkedIcon supports the following path formats:

  • ~/: relative path to the app folder
  • res://: icons must be in the App_Resources folder as follow
iOSAndroid
iOSAndroid

Ripple effect color on Android

To change the color of the ripple effect when an item is tapped, please add the following item to your AppTheme inside your App_Resources > Android > src > main > res > values > styles.xml file with the desired color resource.

<!-- Application theme -->
<style name="AppTheme" parent="AppThemeBase">
    <item name="colorControlHighlight">@color/ns_accent</item>
</style>

Android support

You will need Support Library APIs v28 installed on your developer machine to be able to successfully use this plugin. If you already use the latest {N} version 5.0, you should be good to go.

More details

API documentation

TODO

  • Allow to hide/show the BottomBar
  • Expose more BottomBarItem customisation (font, position, etc..)
  • Expose selection indicator on iOS
  • Implement more unit tests and e2e tests
4.0.0-rc1.2

5 years ago

4.0.0-rc1.1

5 years ago

4.0.0-rc1

5 years ago

3.0.8

6 years ago

3.0.7

7 years ago

3.0.6

7 years ago

2.1.4

7 years ago

2.1.3

7 years ago

3.0.5

7 years ago

2.1.2

7 years ago

3.0.4

7 years ago

3.0.3

7 years ago

2.1.1

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.1.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago