Skip to content

Commit a72013d

Browse files
docs(lifecycle): clarify method descriptions (#2951)
Co-authored-by: BAYiTUPAi <BAYiTUPAi@users.noreply.github.com>
1 parent f4adec9 commit a72013d

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

docs/angular/lifecycle.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ In addition to the Angular life cycle events, Ionic Angular provides a few addit
3737
| Event Name | Description |
3838
| ------------------ | ------------------------------------------------------------------ |
3939
| `ionViewWillEnter` | Fired when the component routing to is about to animate into view. |
40-
| `ionViewDidEnter` | Fired when the component routing to has finished animating. |
41-
| `ionViewWillLeave` | Fired when the component routing from is about to animate. |
42-
| `ionViewDidLeave` | Fired when the component routing to has finished animating. |
40+
| `ionViewDidEnter` | Fired when the component routing to has *finished* animating. |
41+
| `ionViewWillLeave` | Fired when the component routing *from* is about to animate. |
42+
| `ionViewDidLeave` | Fired when the component routing *from* has *finished* animating. |
4343

4444
These lifecycles are only called on components directly mapped by a router. This means if `/pageOne` maps to `PageOneComponent`, then Ionic lifecycles will be called on `PageOneComponent` but will not be called on any child components that `PageOneComponent` may render.
4545

docs/react/lifecycle.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Ionic provides a few lifecycle methods that you can use in your apps:
2020
| Event Name | Description |
2121
| ------------------ | ------------------------------------------------------------------ |
2222
| `ionViewWillEnter` | Fired when the component routing to is about to animate into view. |
23-
| `ionViewDidEnter` | Fired when the component routing to has finished animating. |
24-
| `ionViewWillLeave` | Fired when the component routing from is about to animate. |
25-
| `ionViewDidLeave` | Fired when the component routing to has finished animating. |
23+
| `ionViewDidEnter` | Fired when the component routing to has *finished* animating. |
24+
| `ionViewWillLeave` | Fired when the component routing *from* is about to animate. |
25+
| `ionViewDidLeave` | Fired when the component routing *from* has *finished* animating. |
2626

2727
These lifecycles are only called on components directly mapped by a router. This means if `/pageOne` maps to `PageOneComponent`, then Ionic lifecycles will be called on `PageOneComponent` but will not be called on any child components that `PageOneComponent` may render.
2828

docs/vue/lifecycle.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ This guide discusses how to use the Ionic Framework Lifecycle events in an Ionic
99
## Ionic Framework Lifecycle Methods
1010

1111
Ionic Framework provides a few lifecycle methods that you can use in your apps:
12-
1312
| Event Name | Description |
1413
| ------------------ | ------------------------------------------------------------------ |
1514
| `ionViewWillEnter` | Fired when the component routing to is about to animate into view. |
16-
| `ionViewDidEnter` | Fired when the component routing to has finished animating. |
17-
| `ionViewWillLeave` | Fired when the component routing from is about to animate. |
18-
| `ionViewDidLeave` | Fired when the component routing to has finished animating. |
15+
| `ionViewDidEnter` | Fired when the component routing to has *finished* animating. |
16+
| `ionViewWillLeave` | Fired when the component routing *from* is about to animate. |
17+
| `ionViewDidLeave` | Fired when the component routing *from* has *finished* animating. |
1918

2019
These lifecycles are only called on components directly mapped by a router. This means if `/pageOne` maps to `PageOneComponent`, then Ionic lifecycles will be called on `PageOneComponent` but will not be called on any child components that `PageOneComponent` may render.
2120

0 commit comments

Comments
 (0)