Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229111

Conditional Attributes, Styles, Classes in ionic 2

$
0
0

Why not just solving that with css respectively without adding anything with angular?

Use :last-child selector

Not the correct css but something like

 ion-list ion-item.item-block.item:last-child {
 }

Or if you want to apply something on all child except the last one

ion-list ion-item.item-block.item:not(:last-child) {
}

Viewing all articles
Browse latest Browse all 229111

Trending Articles



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