Skip to content

robnanola/starrr

 
 

Repository files navigation

starrr

1-5 (or 1-*) star rating, in jQuery.

Usage

Create the stars

<div class='starrr'></div>

With an existing rating

<div class='starrr' data-rating='4'></div>

Listen for events

$('.starrr').on('starrr:change', function(e, value){
  alert('new rating is ' + value);
});

License

MIT

About

1-5 star rating, in jQuery.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 54.1%
  • CoffeeScript 41.2%
  • CSS 4.7%