mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
21 lines
400 B
JavaScript
21 lines
400 B
JavaScript
(function(ionic) {
|
|
|
|
ionic.views.HeaderBar = function(opts) {
|
|
this.el = opts.el;
|
|
|
|
this._titleEl = this.el.querySelector('.title');
|
|
};
|
|
|
|
ionic.views.NavBar.prototype = {
|
|
resizeTitle: function() {
|
|
var e,
|
|
children = this.el.children,
|
|
index = Array.prototype.indexOf.call(children, this.el);
|
|
|
|
for(var i = 0; i < index; i++) {
|
|
e = children[i];
|
|
}
|
|
}
|
|
};
|
|
})(window.ionic);
|