Version 4.0.0
Date: 16-Feb-2016
NOTE: Release v4.0.0 is a modified rewrite with various new enhancements and BC breaking features. It allows rendering richer markup for star symbols and offers theming support.
-
(enh #91): Add SVG Icon Support
-
(enh #94): Add Theming Functionality.
- New property
themewill assign a CSS classrating-<theme-name>to the rating container. - Themes included
- The default (blank) theme (for displaying bootstrap glyphicons)
krajee-svg(for displaying svg icons)krajee-uni(for displaying unicode symbols as stars)krajee-fa(for displaying font awesome icons)
- Add ability to override and add one's own themes
Various new features and BC breaking enhancements
- REMOVED:
symbol,glyphicon,ratingClassproperties will be removed. - The requirement for the above will be replaced with the
themeproperty (and can also be implemented using thecontainerClassproperty). - Stars now have a better padding and spacing that can be configured via CSS and themes
- New property
filledStar- will allow one to set the markup forfilledStar- will default to<i class="glyphicon glyphicon-star"></i>
- New property
emptyStar- will allow one to set the markup foremptyStar- will default to<i class="glyphicon glyphicon-star-empty"></i>
- Exclusive support for SVG (and a prebuilt
krajee-svgtheme that contains two different ready to use SVG icons).
- New property
-
(enh #95): Add display only capability.
-
(enh #96): Add support for
bootstrap-sassofficial repo viasassbranch. -
(enh #97): Add
animateproperty to enable / disable animation of star highlight on hover / change.