Skip to content

Commit 52c40da

Browse files
laurentperroteaukensodemann
authored andcommitted
docs(ionPage): add warning about IonicPage Lifecycle (#13250)
1 parent 1b3190b commit 52c40da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/navigation/nav-controller.ts

+1
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ import { NavigationContainer } from './navigation-container';
266266
* | `ionViewCanEnter` | boolean/Promise<void> | Runs before the view can enter. This can be used as a sort of "guard" in authenticated views where you need to check permissions before the view can enter |
267267
* | `ionViewCanLeave` | boolean/Promise<void> | Runs before the view can leave. This can be used as a sort of "guard" in authenticated views where you need to check permissions before the view can leave |
268268
*
269+
* Those events are only fired on IonicPage, for classic Angular Component, use [Angular Lifecycle Hooks](https://angular.io/guide/lifecycle-hooks).
269270
*
270271
* ## Nav Guards
271272
*

0 commit comments

Comments
 (0)