mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +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,11 +6,10 @@
|
||||
* You see it all over iOS apps, where it offers a set of options
|
||||
* triggered after an action.
|
||||
*/
|
||||
ionic.views.ActionSheet = function(opts) {
|
||||
this.el = opts.el;
|
||||
};
|
||||
|
||||
ionic.views.ActionSheet.prototype = {
|
||||
ionic.views.ActionSheet = ionic.views.View.inherit({
|
||||
initialize: function(opts) {
|
||||
this.el = opts.el;
|
||||
},
|
||||
show: function() {
|
||||
// Force a reflow so the animation will actually run
|
||||
this.el.offsetWidth;
|
||||
@ -22,6 +21,6 @@
|
||||
this.el.offsetWidth;
|
||||
this.el.classList.remove('active');
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
})(ionic);
|
||||
|
||||
Reference in New Issue
Block a user