fix(nav): adds public willLoad lifecycle event

* fix(nav): adds public willLoad lifecycle event

* test(menu): adds more asserts
This commit is contained in:
Manu Mtz.-Almeida
2016-11-01 19:12:29 +01:00
committed by Adam Bradley
parent 504e6e0440
commit 033e1eae17
9 changed files with 195 additions and 26 deletions

View File

@ -434,6 +434,15 @@ export class ViewController {
/**
* @private
*/
_preLoad() {
this._lifecycle('PreLoad');
}
/**
* @private
* The view has loaded. This event only happens once per view will be created.
* This event is fired before the component and his children have been initialized.
*/
_willLoad() {
this._lifecycle('WillLoad');
}