How can we use Metronic components in Zero framework like these accordions: http://keenthemes.com/preview/metronic/theme/admin_1/ui_tabs_accordions_navs.html Except for design I would like to have functionality e.g. I get the accordion design but I can't trigger collapse/expand functionalities.
7 Answer(s)
-
0
Hi @digitalcontrol
Could you share your AspNet Zero version ?
Thanks,
-
0
Hi @ismcagdas it is latest 7.0.0.
-
0
@<span class="colour" style="color: rgb(0, 0, 0);">ismcagdas just to remind you for this ticket.</span>
-
0
You can use this one https://valor-software.com/ngx-bootstrap/#/accordion. AspNet Zero already includes ngx-bootstrap library.
-
0
Hello @ismcagdas my question was more generic not only accordion related, what about all other Metronic theme components?
-
0
Hello @ismcagdas, to make myself clear, I can make custom accordian functionality but I would like to use Metronic theme components since they exist already and since Metronic is part of ASP.NET Zero framework. I am aware that I can install and use opensource libraries but my question was strictly related to Metronic theme components.
-
0
Hi,
Sorry for my not complete answer. I offered you Angular component but forgot to ask which version you are using.
If you are using ASP.NET Core & JQuery version, you can directly use bootstrap accordion. Metronic uses it as well, see https://keenthemes.com/metronic/preview/demo1/components/base/accordions.html. There is a link to Bootstraps documentation at the top of the page.
If you are using ASP.NET Core & Angular version of AspNet Zero, I suggest you to use ngx-bootstrap's accordion. However, Metronic uses Ng-Bootstrap, see https://keenthemes.com/metronic/preview/angular/demo1/ngbootstrap/accordion. If you want to use this library, it is not included in AspNet Zero by default but you can install it to your app via NPM and use it.