UNPKG

673 BTypeScriptView Raw
1/**
2 * https://ionicframework.com/docs/api/router-outlet#life-cycle-hooks
3 */
4export interface ViewWillEnter {
5 /**
6 * Fired when the component routing to is about to animate into view.
7 */
8 ionViewWillEnter(): void;
9}
10export interface ViewDidEnter {
11 /**
12 * Fired when the component routing to has finished animating.
13 */
14 ionViewDidEnter(): void;
15}
16export interface ViewWillLeave {
17 /**
18 * Fired when the component routing from is about to animate.
19 */
20 ionViewWillLeave(): void;
21}
22export interface ViewDidLeave {
23 /**
24 * Fired when the component routing to has finished animating.
25 */
26 ionViewDidLeave(): void;
27}