Skip to content

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

Merged
mlynch merged 1 commit intomasterfrom
unknown repository
Dec 6, 2015
Merged

Add ionicTabs#showBar() method to set/get whether the tabs bar is shown#4613
mlynch merged 1 commit intomasterfrom
unknown repository

Conversation

@shaoner
Copy link
Copy Markdown

@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
Copy Markdown
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