Share ion-item across pages


#1

I have a ion-item consisting of multiple components and behavior. How can I share this ion-item in lists on different pages without copy HTML and Typescript?

I try to extract a component, but the selector between ion-list and ion-item break the list stylesheets.

Another approach I put my custom component inside the ion-item, but I can not use attributes like item-left anymore. The selector between ion-list and ion-item break the list stylesheet also.

Any other ideas?


#2

i have run into this problem also and I just converted all of the code to not use the ionic directives