ionic ionic4-rating code example
Example: ionic 5-star-rating
<ionic-rating-component #rating
activeIcon = "ios-star"
defaultIcon = "ios-star-outline"
activeColor = "#488aff"
defaultColor = "#f4f4f4"
readonly="false"
rating="3"
fontSize = "32px"
(ratingChanged)="onRatingChange($event)">
</ionic-rating-component>