Releases: wbotelhos/raty
Releases · wbotelhos/raty
v2.7.0
Fixes
- Function move was losing precision with float with more then one digit;
- Function move was losing the saved options data;
- With half enable, mousemove was not changing to full star after 0.5 point;
- With half enable, score field was receiving precision value. (reported by hoangnham01)
Changes
- If you returns false into click callback, the action will be prevented;
- When precision is on it won't force targetType to be score anymore.
News
- Added support to float hints;
v2.6.0
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 asundefined
notnull
; - The
numberMax
now sets the stars between 1...numberMax
instead 0...numberMax
.
Changes
path
now isundefined
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. Tryinline-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. Tryinline-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 likei
and use font to render the stars; - Option
target
accepts callback; - Added option
cancelClass
to choose the class name for cancel button.