A simple yet powerful JQuery star rating plugin with fractional rating support.
Date: 20-Sep-2021
Date: 11-Sep-2021
Date: 25-Jul-2021
mousenter
event to mouseenter
.Date: 21-May-2021
minThreshold
default value.Date: 21-May-2021
Date: 20-May-2021
minThreshold
which allows a star rated with minimum value always. The initial value
of the rating is set to minThreshold
if it has a value undefined or a value less than minThreshold
minThreshold
value must be a value between the min
and max
valuesminThreshold
is set to less than min
the plugin will default minThreshold
to the min
valueminThreshold
is set to greater than max
the plugin will default minThreshold
to the max
valuekeyboardEnabled
- defaults to true
tab
keyboard button to navigate to the ratingright
and arrow left
keyboard buttons to change the rating valuemouseEnabled
- defaults to true
starTitles
(can be set as object or function) - will set the title for each starrating:mouseenter
and rating:mouseleave
$('#ratingInput').on('rating:mouseenter rating:mouseleave', function(e, index, status, $star) {
console.log(index); // the index number of the star where the event was triggered
console.log(status); // whether the mouse event was triggered on `empty-star` or `filled-star`
console.log($star); // the current star jquery object where event was triggered
console.log($star.attr('title')); // can get properties of the star object
});
Date: 25-May-2019
Date: 04-Oct-2018
showCaption
when displayOnly
is true
.Date: 15-Sep-2018
fas
theme.showCaptionAsTitle
Date: 03-Nov-2017
rating:change
event.rating:
instead of rating
.