Issue
so my problem is, that how do i call a function when the component is fully loaded in angular?
I tried with:
<body onload='func()'></body> and its not working
Solution
Look for ngOnInit or ngAfterViewInit
Answered By - Lucas Santos
so my problem is, that how do i call a function when the component is fully loaded in angular?
I tried with:
<body onload='func()'></body> and its not working
Look for ngOnInit or ngAfterViewInit
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.