Ability to add custom directive as an thumbnail in ion-item


#1

Using item-thumbnail-left works fine in ion-item if the thumbnail is (indeed) an image :
<ion-item class="item-thumbnail-left item-button-right"> <img src="myimage.png" /> </ion-item>

but, is there a way to make this work using non img tag ?
`

BLUE
`

many thanks in advance,
D


#2

Yup, just add the class item-image to the div


#3

Thanks Mike. Works like a charm!

Could you elaborate how you’ve figured out which class was meant to be added, as I’m facing similar issue on other topics ?

for example, adding an element to the right of a ion-header-bar only works for button element, but what if I just want to use another directive.

Thanks again for your time,
D.


#4

#5

Thanks.
( I would recommend adding a link in the documentation between ion-item and cards )