Here is the link from where you can check angular 8 accordion working example:
Angular 8 accordion working demo
Thank you
Here is the link from where you can check angular 8 accordion working example:
Angular 8 accordion working demo
Thank you
For further actions, you may consider blocking this person and/or reporting abuse
Hey, if you're landing here for the first time, you should know that this website is a global community of folks who blog about their experiences to help folks like you out.
ng-news -
nightwolfdev -
Kenneth Tengco -
dilika 🤩 -
Once suspended, ajaydeveloper will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, ajaydeveloper will be able to comment and publish posts again.
Once unpublished, all posts by ajaydeveloper will become hidden and only accessible to themselves.
If ajaydeveloper is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to AjayMalhotra.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community 👩💻👨💻 safe. Here is what you can do to flag ajaydeveloper:
Unflagging ajaydeveloper will restore default visibility to their posts.
Top comments (2)
Using jQuery isn't the move with Angular. You could improve this accordion by using Angular components to break up the different functional aspects of an accordion.
Also, if you are needing to look up elements (which a componentized accordion wouldn't need), the use of ViewChild is highly recommended.
The title is a little misleading, as you aren't using anything Angular with regards to the accordion, just inserting non-Angular specific code into an app component. Would love to see you adapt this to use Angular's recommended practices to avoid misleading individuals against best practices.
Would be happy to help point you in the right direction if you're curious!
Yes you are right and thank you.