Categories

Jan 6 in Angular

Q: What is ngOnInit ()?

1 Answer

Jan 6
ngOnInit () is a lifecycle hook that is called after Angular has finished initializing all data-bound properties of a directive. It is defined as:

Interface OnInit {

 ngOnInit () : void

 }
Click here to read more about Angular JS
Click here to read more about Insurance

Related questions

Madanswer
Jan 15 in Angular
Jan 15 in Angular
Jan 15 in Angular
...