hi guys,
i write a little rating component and its works pretty fine , but i’m using bootstrap css
how can i use ion-icon into this?
my component look like this
@Component({
selector: 'rating',
inputs: ['rate'],
outputs: ['updateRate: rateChange'],
template: `
<span tabindex="0">
<template ngFor #range [ngForOf]="range" #index="index">
<span class="sr-only">({{ index < rate ? '*' : ' ' }})</span>
<i style="font-size: 50px;" gold class="glyphicon" (click)="update(index + 1)" [ngClass]="index < rate ? 'glyphicon-star' : 'glyphicon-star-empty'"></i>
</template>
</span>
`
})