Hi,
I’m wondering what I’m wrong, I tried to use ion-toggle, but it seems that the
breaks the ellipsis on the text:
The first items is done using:
<ion-item ng-repeat="group in groups" class="item-toggle item-toggle-left">
{{group.name}}
<label class="toggle">
<input type="checkbox" ng-model="group.notif" ng-checked="group.notif" ng-change="subscribe(group)" ng-model-options="{ debounce: 350 }">
<div class="track">
<div class="handle"></div>
</div>
</label>
</ion-item>
while the second is done by:
<ion-toggle ng-repeat="group in groups" ng-model="group.notif" ng-checked="group.notif" ng-change="subscribe(group)" ng-model-options="{ debounce: 350 }">
{{ group.name }}
</ion-toggle>
To fix it, I need to add the css:
div.item-toggle > div[ng-transclude] {
display: inline;
}
Any idea?