OnInit
interface
A lifecycle hook that is called after Angular has initialized
all data-bound properties of a directive.
Define an ngOnInit()
method to handle any additional initialization tasks.
API
Usage Notes
interface OnInit {}
Jump to details