I’m using the list and item directives because I want to use the handy behavior handling without having to write it myself. I need to use the Avatar style list (or Thumbnail) but the template and css classes applied by the directive don’t play well with the item-avatar or item-thumbnail item types. The result is in this Codepen: http://codepen.io/jfrench/pen/AChxH
It seems to be an issue related to having both item-complex and item-avatar on the same element. The styles don’t play well together and I don’t seem to be talented enough on the CSS side to work it out. Any tips?
UPDATE: It seems to be related to the .item-complex .item-content style. If I remove position: relative; from that rule then the item-avatar styles correctly but then the item does not hide the option buttons.
I’ve not seen the <item> directives used before. The demo code builds this all with regular html divs and links.
I forked yours just a bit and came up with this:
It looks nicer but doesn’t do swiping and stuff. Maybe play with it a bit to see if you can flesh out the other functionality using raw html with Ionic classes instead of directives.
ion-list component is not styled correctly. It get’s styled correctly if you only use css classes, but then the swiping of list items wont work, so the buttons stay hidden. I really need this feature