Star Rating.js Versions Save

This zero-dependency ES6 module transforms a select with numerical-range values (i.e. 1-5) into a dynamic star rating element.

v4.1.0

3 years ago
  • Added the prebuilt option

v4.0.6

3 years ago
  • Remove the focus from being triggered entirely as it caused to many problems on ios and I don't have time to fix it

v4.0.5

3 years ago
  • Fixed an invalid change event from being triggered by the reset event

v4.0.4

3 years ago
  • Export a babel-transpiled commonjs module

v4.0.3

3 years ago
  • Fixed rollup config to support optional-chaining in babel

v4.0.2

3 years ago
  • Fixed compatibility mode (when 'function' !== typeof options.stars)
  • Removed trigger of change event after init as this could trigger unwanted validation

v4.0.1

3 years ago
  • Fixed the change event for disabled SELECT elements

v3.4.0

3 years ago
  • Specify passive:false on event listeners to suppress Chrome warnings

v4.0.0

3 years ago
  • Code has been rewritten as an ES6 module and optimised
  • Added requestAnimationFrame to the pointer move events
  • Added the stars option which allows you to use custom SVG images for each star
  • Replaced the classname option with the classNames option
  • Replaced the initialText option with the tooltip option
  • Replaced gulp with rollup for the build
  • Replaced SASS with PostCSS