in Angular by
Q:
What is ngOnInit ()?

1 Answer

0 votes
by
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

0 votes
asked Jan 15, 2020 in Angular by rahuljain1
0 votes
asked Jan 15, 2020 in Angular by rahuljain1
+1 vote
asked Jan 15, 2020 in Angular by rahuljain1
+1 vote
asked Jan 15, 2020 in Angular by rahuljain1
+1 vote
0 votes
asked Jan 6, 2020 in Angular by sharadyadav1986
...