Simple jQuery plugin
Simple jQuery plugin rating.
Install
$ bower i jquery.thumbs.js
or
$ npm i jquery.thumbs.js
You can see example in action
Simple example
$(function () { $('.js-rating-simple').thumbs(); })
Extended example
$(function () { $('.js-rating').thumbs({ onLike: function (value) { console.log('Like ' + value); }, onDislike: function(value) { console.log('Dislike ' + value) } }); })