mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
Fixed #64 and fixed sub view controllers and tabs
Moved tabs to be absolute not fixed so they can easily be placed inside of containers
This commit is contained in:
@ -6,13 +6,13 @@
|
||||
* You see it all over iOS apps, where it offers a set of options
|
||||
* triggered after an action.
|
||||
*/
|
||||
ionic.views.Popup = function(opts) {
|
||||
var _this = this;
|
||||
ionic.views.Popup = ionic.views.View.inherit({
|
||||
initialize: function(opts) {
|
||||
var _this = this;
|
||||
|
||||
this.el = opts.el;
|
||||
};
|
||||
this.el = opts.el;
|
||||
},
|
||||
|
||||
ionic.views.Popup.prototype = {
|
||||
setTitle: function(title) {
|
||||
var titleEl = el.querySelector('.popup-title');
|
||||
if(titleEl) {
|
||||
@ -33,6 +33,6 @@
|
||||
|
||||
this.el.classList.remove('active');
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
})(ionic);
|
||||
|
||||
Reference in New Issue
Block a user