Hi:
Is there a way to change the tag type based on condition?
<ion-item class="myclass">
<div>aaa</div>
<div>bbb</div>
<div>ccc</div>
<div>ddd</div>
</ion-item>
<ion-card class="myclass">
<div>aaa</div>
<div>bbb</div>
<div>ccc</div>
<div>ddd</div>
</ion-card>
The only thing that is changed is the tag name at open and close.
instead of writing it twice than it is better to condition it dynamically.
How to do it?