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

Ion-toggle AND ion-checkbox in same ion-item

$
0
0

@linvi wrote:

Hello,

I am trying to add custom elements to my item-list items.
Ideally I would like to have the following :

<ion-item *ngFor="let test of tests">
 TITLE
  <div style="float: right;">
    <ion-checkbox></ion-checkbox>
    <ion-toggle></ion-toggle>
  </div>
  <div style="clear: both;"></div>

ionic2 seems to have all its directives very tight up to the location where they are used and I cannot actually do the code above.

Please disregard the style I added it to give you an idea of what I want to do.

If such thing is not possible how can I reuse the round templates the ion-checkbox/ion-toggle on buttons?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70857

Trending Articles



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