Skip to content

v2.6.0

Compare
Choose a tag to compare
@wbotelhos wbotelhos released this 14 Jun 18:58
· 283 commits to main since this release

Fixes

  • Target was not showing the score when half was enabled; (andersonba)
  • Fixed some JS Lint warnings; (Qazzian)
  • Cancel button mouseleave must yiels no score as undefined not null;
  • The numberMax now sets the stars between 1...numberMax instead 0...numberMax.

Changes

  • path now is undefined by default;
  • The {score} placeholder on targetFormat option is no longer mandatory;
  • On click method, if click callback is not defined, it will be ignore instead of throw error;
  • Option size was removed! Raty will discover it;
  • Option width was removed! It is a bad idea force a width on this responsive days. Try inline-block for fit;
  • Option size was removed! Raty will discover it;
  • Option width was removed! It is a bad idea force a width on this responsive days. Try inline-block for fit.

News

  • Added option targetScore to choose where the score will be setted; (byhoratiss)
  • Added function move to move the cursor through stars;
  • Put the library over Travis Continuous Integration; (danielpsf)
  • Added option starType to be possible change from image to other element like i and use font to render the stars;
  • Option target accepts callback;
  • Added option cancelClass to choose the class name for cancel button.