Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Ion-icon with routerLink?

$
0
0

I want to have next to my
The problem is I also want to ONLY attach a routerLink to
If I do it this way:

    <ion-item routerLink="/home/">
      <ion-icon name="chevron-back-outline"></ion-icon>
      <ion-title>showcase</ion-title>
    </ion-item>

Then both the and will be on the same line but will also be clickable.

If I do it this way:

    <ion-item routerLink="/home/">
      <ion-icon name="chevron-back-outline"></ion-icon>
    </ion-item>
      <ion-title>showcase</ion-title>

Then only that will be clickable but the layout won’t look nice (the arrow showed on top of )

How do I let both and in the same line but only want to be clickable?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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