Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ionicTabs#showBar() method to set/get whether the tabs bar is shown #4613

Merged
merged 1 commit into from Dec 6, 2015
Merged

Add ionicTabs#showBar() method to set/get whether the tabs bar is shown #4613

merged 1 commit into from Dec 6, 2015

Conversation

shaoner
Copy link

@shaoner shaoner commented Nov 9, 2015

Ability to hide the tabs bar from a controller:

$scope.$on('$ionicView.afterEnter', function () {
  $ionicTabsDelegate.$getByHandle('my-tab-bar').showBar(false);
});

$scope.$on('$ionicView.beforeLeave', function () {
  $ionicTabsDelegate.$getByHandle('my-tab-bar').showBar(true);
});

mlynch added a commit that referenced this pull request Dec 6, 2015
Add ionicTabs#showBar() method to set/get whether the tabs bar is shown
@mlynch mlynch merged commit 27fc24e into ionic-team:master Dec 6, 2015
@mlynch
Copy link
Contributor

mlynch commented Dec 6, 2015

Thanks! Tested this and it works well.

@mlynch mlynch added this to the 1.2 milestone Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants