mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
ANimationed action sheet!
This commit is contained in:
5
dist/ionic.js
vendored
5
dist/ionic.js
vendored
@ -1743,9 +1743,14 @@ window.ionic = {
|
||||
|
||||
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