Releases: zyra/ionic-super-tabs
Releases · zyra/ionic-super-tabs
v2.3.1
v2.3.0
v2.2.2
v2.2.1
v2.1.0
v2.0.0
Breaking Changes
Removed inputs
rootNavCtrl
: the root NavController is now automatically added to the NavParams
Renamed Inputs
-
SuperTabs component:
sliderColor
->indicatorColor
toolbarColor
->toolbarBackground
tabsColor
->toolbarColor
-
SuperTab component:
tabRoot
->root
navParams
->rootParams
Other
SuperTabs
componentheight
input no longer takes astring
. It takes a number of pixels instead. You most likely will not need to use this input since the height now defaults to100%
. So it will take 100% of it's container's height.
Upgrade instructions
- Rename any input values as needed (see breaking changes above)
- Remove the
height
input value - Import
SuperTabs.forRoot()
instead ofSuperTabs
in your app's main module.
Features
- Allow tabs scrolling
- Can have many tabs with a tab bar that's expanded and scrolls automatically on tab change
- Can manually scroll through the available tabs
- Allow swipe-back on iOS (issue #4)
- Allow swiping on top of the tab contents to open side menu (issue #10)
- Allow disabling/enabling swiping (issue #2)
- Global setting
- Per tab setting
- Allow programmatic navigation to a specific tab (issue #3)
- Add badges for tabs (issue #6)
- Add ability to show/hide tab-bar (issue #1)
- Add ability to specify tabs position, or respect the global Ionic config (top/bottom tabs) (issue #9)
- Output
tabSelect
event
Bug fixes
- Empty tab at the end
- Fix issues with part of the tab bar hiding when scrolling to the bottom of the page
- Fix issues caused when switching screen orientation
- Fix issue where
ion-slides
gets stuck between two slides (tabs). It will navigate to the closest tab when this occurs. - Fix issue with indicator width not being updated when orientation changes (issue #11)
Other
- Disable overswiping (at the beginning and end of the tabs)
- Improve animation performance
- Create custom code instead of using
ion-slides