mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix(nav): adds public willLoad lifecycle event
* fix(nav): adds public willLoad lifecycle event * test(menu): adds more asserts
This commit is contained in:
committed by
Adam Bradley
parent
504e6e0440
commit
033e1eae17
@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user