Alright, you may access a private method in an Angular component from its template unlike how you may access a private method in a code behind from its web form, however, when you go to run...
npm run build-prod
...the private method will likely be unacceptable and you will not be able to package up the Angular app because of it. Make these methods public.
No comments:
Post a Comment