Please enable JavaScript.
Coggle requires JavaScript to display documents.
Components (Component interaction (Content projection (<ng-content>…
Components
Component interaction
-
Input bindings
-
ngOnChanges() hook is preferred when acting on multiple, interacting values from the parent
-
-
-
-
Lifecycle hooks
-
-
Sequence
-
ngOnInit()
-
Perform complex initialization logic after the initial local variables and input properties are set up
-
-
-
-
-
-
-
-
Component styles
View encapsulation
Encapsulation mode for a component can be set using the encapsulation property of component metadata
-
-
-
-
-
-
-
Pipes
-
-
PipeTransform interface
Implements the transform(input, ...params) function
-
-
-
User input
-
-
Event bindings can be used to respond to native events and Angular's pseudo events (e.g. keyup.enter)
-
Change detection
Occurs after any asynchronous event related to the view, such as a keystroke, a timer completion, or an HTTP response
-