mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Started header bar view
This commit is contained in:
22
dist/ionic.js
vendored
22
dist/ionic.js
vendored
@ -1692,7 +1692,27 @@ if ( document.readyState === "complete" ) {
|
||||
}
|
||||
};
|
||||
})(window.ionic);
|
||||
;;(function(ionic) {
|
||||
;(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);
|
||||
;(function(ionic) {
|
||||
|
||||
ionic.views.NavBar = function(opts) {
|
||||
this.el = opts.el;
|
||||
|
||||
Reference in New Issue
Block a user