Releases: akempes/angular-rateit
Releases · akempes/angular-rateit
The callback function binding has changed form two-way to method binding
The callback function binding has changed form two-way to method binding. This will allow you to pass your own variables to the callback function AND the current rating is passed in the rating
parameter:
<ng-rate-it ng-model="model.basic" rated="myCallback(rating, 'Your own var')"></ng-rate-it>
$scope.myCallback = function (rating, cusotmVar) {
console.log(rating, customVar);
}
To upgrade from v3 to v4, just add ()
after your function name.
Removed module variable
3.0.4
Fixed flickering
Fixed #10 stars flicker when clicked on
Dist files update
3.0.2 Dist files update
3.0.0 Refactored HTML and CSS for mobile divices
- BREAKING: The
over
callback is removed. - BREAKING: If you're using your own template, you need to update it.
- Template and CSS file are refactored in order to support mobile divices.
- Moved calculations from template to controller.
Fixed getBoundingClientRect
With thanks to @inabhi9
Fix incorrect hover value
2.0.4 New release
2.0.3
2.0.2
Package and bower file updated
2.0.1 Forgot to update package.json and bower file