mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(platform): fire platform ready on app init
This commit is contained in:
@ -78,6 +78,12 @@ export class IonicApp extends Ion implements OnInit {
|
|||||||
if (this._config.getBoolean('hoverCSS', true)) {
|
if (this._config.getBoolean('hoverCSS', true)) {
|
||||||
this.setElementClass('enable-hover', true);
|
this.setElementClass('enable-hover', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// sweet, the app root has loaded!
|
||||||
|
// which means angular and ionic has fully loaded!
|
||||||
|
// fire off the platform prepare ready, which could
|
||||||
|
// have been switched out by any of the platform engines
|
||||||
|
this._platform.prepareReady();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user