html5 - toggle-class error in Ionic -


i have ion-toggle:

<ion-toggle ng-model="production" toggle-class="toggle toggle-big"      ng-change="production && (dispensing = washingup = false); checkprod(production);">      <img src="img/production5.png" height="50" width="50" align="left" />     <p style="">name</p> </ion-toggle>  

and reason error:

ionic.bundle.js:26799 error: failed execute 'add' on 'domtokenlist': token provided ('toggle toggle-big') contains html space characters, not valid in tokens.

i know has 2 classes, toggle , toggle-big, if remove of them toggle smaller - , want big.

everything works fine toggle, want understand error. tried nothing:

toggle-class="'toggle' && 'toggle-big'" 

image show how looks or without class.

enter image description here


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -