Hide nav bar if you like.

This commit is contained in:
Max Lynch
2013-10-01 23:41:57 -05:00
parent 9c5f78b9f3
commit fb85b7e91c
7 changed files with 51 additions and 24 deletions

10
dist/ionic.js vendored
View File

@ -1737,9 +1737,19 @@ window.ionic = {
this.el = opts.el;
this._titleEl = this.el.querySelector('.title');
if(opts.hidden) {
this.hide();
}
};
ionic.views.NavBar.prototype = {
hide: function() {
this.el.classList.add('hidden');
},
show: function() {
this.el.classList.remove('hidden');
},
shouldGoBack: function() {},
setTitle: function(title) {