ionic 4 ion-item code example
Example: ion item
<!-- Default Item -->
<ion-item>
<ion-label>
Item
</ion-label>
</ion-item>
<!-- Item as a Button -->
<ion-item button (click)="buttonClick()">
<ion-label>
Button Item
</ion-label>
</ion-item>
<!-- Item as an Anchor -->
<ion-item href="https://www.ionicframework.com">
<ion-label>
Anchor Item
</ion-label>
</ion-item>
<ion-item color="secondary">
<ion-label>
Secondary Color Item
</ion-label>
</ion-item>