1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { CompileReflector } from './compile_reflector';
|
9 | export declare enum LifecycleHooks {
|
10 | OnInit = 0,
|
11 | OnDestroy = 1,
|
12 | DoCheck = 2,
|
13 | OnChanges = 3,
|
14 | AfterContentInit = 4,
|
15 | AfterContentChecked = 5,
|
16 | AfterViewInit = 6,
|
17 | AfterViewChecked = 7
|
18 | }
|
19 | export declare const LIFECYCLE_HOOKS_VALUES: LifecycleHooks[];
|
20 | export declare function hasLifecycleHook(reflector: CompileReflector, hook: LifecycleHooks, token: any): boolean;
|
21 | export declare function getAllLifecycleHooks(reflector: CompileReflector, token: any): LifecycleHooks[];
|