Skip to content

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

Merged
mlynch merged 1 commit into
masterfrom
unknown repository
Dec 6, 2015
Merged

mlynch merged 1 commit into
masterfrom
unknown repository

Conversation

@shaoner

@shaoner shaoner commented Nov 9, 2015

Copy link
Copy Markdown

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

mlynch commented Dec 6, 2015

Copy link
Copy Markdown
Contributor

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