mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
docs(nav): fix typos in comments for NavControllerBase and ViewController (#9953)
* docs(nav): fix typo * docs(view): fix typo
This commit is contained in:

committed by
Brandy Carney

parent
dbfc79b63a
commit
d46b3e8e9f
@ -686,7 +686,7 @@ export class NavControllerBase extends Ion implements NavController {
|
||||
_viewsWillLifecycles(enteringView: ViewController, leavingView: ViewController) {
|
||||
if (enteringView || leavingView) {
|
||||
this._zone.run(() => {
|
||||
// Here, the order is important. WillLeave must called before WillEnter.
|
||||
// Here, the order is important. WillLeave must be called before WillEnter.
|
||||
leavingView && this._willLeave(leavingView, !enteringView);
|
||||
enteringView && this._willEnter(enteringView);
|
||||
});
|
||||
|
@ -463,7 +463,7 @@ export class ViewController {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* The view has is about to leave and no longer be the active view.
|
||||
* The view is about to leave and no longer be the active view.
|
||||
*/
|
||||
_willLeave(willUnload: boolean) {
|
||||
this.willLeave.emit(null);
|
||||
|
Reference in New Issue
Block a user