Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Is it possible to create a generic component and use different styles for it in different pages?

$
0
0

I’m developing an app in Ionic 5 and for listing some grouped items I decided to use a generic accordion component, but I’m running into a problem. Depending on the page that I use the component, I need to change almost every class and style inside the component for showing the items in the desired way.

The question is, can I use a generic component but with a dynamic style (css)?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>