mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
Platform.ready() for excellence
This commit is contained in:
@ -121,8 +121,7 @@ class FadeIn extends Animation {
|
||||
this
|
||||
.easing('ease')
|
||||
.duration(250)
|
||||
.fadeIn()
|
||||
.before.addClass('show-modal');
|
||||
.fadeIn();
|
||||
}
|
||||
}
|
||||
|
||||
@ -134,8 +133,7 @@ class FadeOut extends Animation {
|
||||
this
|
||||
.easing('ease')
|
||||
.duration(250)
|
||||
.fadeOut()
|
||||
.after.removeClass('show-modal');
|
||||
.fadeOut();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -175,6 +175,10 @@ export function main(ionicBootstrap) {
|
||||
console.log('isRTL', app.isRTL())
|
||||
console.log('lang', app.lang())
|
||||
|
||||
Platform.ready().then(() => {
|
||||
console.log('Platform.ready')
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user