Skip to content

Commit

Permalink
Changed the version to 2.1.0, accepting hexadecimal in case-insensiti…
Browse files Browse the repository at this point in the history
…ve manner, Removed populating starHeight in options
  • Loading branch information
prrashi committed Apr 10, 2016
1 parent 2244768 commit 1c47c78
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 17 deletions.
15 changes: 13 additions & 2 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
$(this).next().text(rating);
};

$("#rateYo1").on("rateyo.init", function () { console.log("rateyo.init"); });

$("#rateYo1").rateYo({
rating: rating,
numStars: 5,
Expand All @@ -62,8 +64,17 @@
maxValue: 5,
starWidth: "64px",
spacing: "5px",
multiColor: true
});
multiColor: true,
onInit: function () {

console.log("On Init");
},
onSet: function () {

console.log("On Set");
}
}).on("rateyo.set", function () { console.log("rateyo.set"); })
.on("rateyo.change", function () { console.log("rateyo.change"); });

$(".rateyo").rateYo();

Expand Down
4 changes: 2 additions & 2 deletions min/jquery.rateyo.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1c47c78

Please sign in to comment.