mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
ANimationed action sheet!
This commit is contained in:
@ -11,9 +11,14 @@
|
||||
|
||||
ionic.views.ActionSheet.prototype = {
|
||||
show: function() {
|
||||
// Force a reflow so the animation will actually run
|
||||
this.el.offsetWidth;
|
||||
|
||||
this.el.classList.add('active');
|
||||
},
|
||||
hide: function() {
|
||||
// Force a reflow so the animation will actually run
|
||||
this.el.offsetWidth;
|
||||
this.el.classList.remove('active');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user