ionic-rating
ionic-rating copied to clipboard
Changing icons doesn't work
Attributes state-on
, state-off
and rating-states
doesn't work for me.
When I try to change default icons (to not to be stars), e.g. by writing
<rating ng-model="x" state-on="'ion-thumbsup'" state-off="'ion-thumbsup'"></rating>
or
<rating ng-model="y" rating-states="ratingStates"></rating>
this doesn't work. In first case, icons doesn't change, and in second case rating isn't displayed at all (even with default stars).
Apart from this, rating works just fine.
I've fixed this: #8
I still cant make it work using this line
<rating ng-model="x" state-on="'ion-thumbsup'" state-off="'ion-thumbsup'"></rating>
I see the rating with the default stars
Hi,
I would like to change stars icons but stateOn="fa fa-star" doesn't work for me.
I also see the rating with the default stars.
Any help ?
Thanks