Releases: kartik-v/bootstrap-star-rating
Releases · kartik-v/bootstrap-star-rating
Version 4.1.2
Version 4.1.1
Date: 11-Sep-2021
- (enh #215): Correct NPM module handling.
Version 4.1.0
Version 4.0.9
Date: 21-May-2021
- Correct
minThresholddefault value.
Version 4.0.8
Date: 21-May-2021
- (enh #209): Enhancements to support BS 5.x (and 4.x/3.x).
Version 4.0.7
Date: 20-May-2021
- (enh #208): Corrected positioning of the base input on which the rating is triggered.
- (enh #205): Add Dutch Translations.
- (enh #200): Activate Open Collective.
- (enh #199): Add Greek Translations.
- (enh #145): Minimum value threshold validation.
- New property
minThresholdwhich allows a star rated with minimum value always. The initial value
of the rating is set tominThresholdif it has a value undefined or a value less thanminThreshold - The
minThresholdvalue must be a value between theminandmaxvalues - If
minThresholdis set to less thanminthe plugin will defaultminThresholdto theminvalue - If
minThresholdis set to greater thanmaxthe plugin will defaultminThresholdto themaxvalue
- New property
- (enh #129): Enhance accessibility & make the stars keyboard focusable.
- New property
keyboardEnabled- defaults totrue- allow use of
tabkeyboard button to navigate to the rating - allow use of arrow
rightand arrowleftkeyboard buttons to change the rating value
- allow use of
- New property
mouseEnabled- defaults totrue- when set to false - the mouse cannot be used to change the ratings
- New property
- (enh #111): Add titles to individual star elements.
- New config property
starTitles(can be set as object or function) - will set the title for each star
- New config property
- (enh #110): Hover events reworked. New events added
rating:mouseenterandrating: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
});
Version 4.0.6
Version 4.0.5
Version 4.0.4
Date: 15-Sep-2018
- Enhancements to support Bootstrap v4.x.
- Better styling of stars for the 5 rating sizes and maintain consistency across themes.
- (enh #187): Add Kazakh translations.
- (enh #184): Correct rating-input style to keep it hidden - yet trigger required validation.
- (enh #182): New Krajee Font Awesome 5.x
fastheme. - (bug #177, enh #179): New property
showCaptionAsTitle- Useful for caption to be displayed as title for readonly ratings.