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

Customising ion-toggle inside an ion-list

$
0
0

In a fashion, yes. I don't customise the toggle, I just put a block href next to it to achieve what I wanted.

You should be able to remove the width:90% too

<ion-toggle toggle-class="toggle-calm" ng-repeat="category in categories" ng-change="toggleCategory({{category}})" ng-model="category.toggleState.allowed">
                      <a style="display: inline-block; width: 90%;" ng-click="navigateToDetail(category)">{{category.name}}</a>
                      <i ng-click="navigateToDetail(category)" ng-if="category.apps.length > 0"
                         class="icon ion-chevron-right icon-accessory" style="color: darkgray"></i>
</ion-toggle>

Viewing all articles
Browse latest Browse all 228595

Trending Articles