LifecycleHooks enum
Lifecycle hooks are guaranteed to be called in the following order:
afterChanges
(if any bindings have been changed by the Angular framework),onInit
(after the first check only),doCheck
,afterContentInit
,afterContentChecked
,afterViewInit
,afterViewChecked
,onDestroy
(at the very end before destruction)
Values
- onInit → const LifecycleHooks
- onDestroy → const LifecycleHooks
- doCheck → const LifecycleHooks
- afterChanges → const LifecycleHooks
- afterContentInit → const LifecycleHooks
- afterContentChecked → const LifecycleHooks
- afterViewInit → const LifecycleHooks
- afterViewChecked → const LifecycleHooks
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
LifecycleHooks> - A constant List of the values in this enum, in order of their declaration.