Rating Stars

<sw-rating-stars>

ready
Renders rating stars

Usage

Loading...
<sw-rating-stars v-model='actualStars' :maxStars='5' :iconSize='16' :displayFractions='4'></sw-rating-stars>

Component properties

Property name Type Default
value Number
maxStars Number 5
iconSize Number 16
displayFractions Number 4

Imports

  • ./sw-rating-stars.html.twig
  • ./sw-rating-stars.scss

Twig blocks

  • sw_rating_stars_placeholder_stars
  • sw_rating_stars_placeholder
  • sw_rating_stars_value_stars_full
  • sw_rating_stars_value_stars_partial
  • sw_rating_stars_value_stars
  • sw_rating_stars_value
  • sw_rating_stars