Topic: Angular Accordion problem
Colony5 free asked 5 years ago
Expected behavior I have tried to utilize the Angular Accordion component. I just simple copied the sample code from the official MDB site.
Actual behavior But, nothing appears on the screen. I have checked the router-outlet tag, it is empty. I own the pro version, every other pro component works fine.
Resources (screenshots, code snippets etc.) https://mdbootstrap.com/docs/angular/advanced/accordion/ e.g.: the Basic accordion sample
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.5.4
- Device: ALL
- Browser: Firefox 68+
- OS: Windows 10 Pro 64bit
- Provided sample code: No
- Provided link: Yes
Damian Gemza staff commented 5 years ago
Dear @Colony5
Does your browser throw you some errors in the console? Or during building application, the compiler throws you any errors?
I would like to take a look at your
app.module.ts
,angular.json
andpackage.json
files. Without them, I won't be able to help you well. Also, please show me the code which you have used for the accordion.Best Regards,
Damian
Colony5 free commented 5 years ago
Hi Damian!
Thank you for the tip: I have checked the console, I had to import the BrowserAnimationsModule in the app.module.ts, now the accordion works fine!
regards,Peter