Skip to content

Commit

Permalink
Added ng-mouseenter to paint on cursor-oriented UIs
Browse files Browse the repository at this point in the history
  • Loading branch information
melloc01 committed Aug 5, 2015
1 parent 285c961 commit 5517f36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion angular-input-stars.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ angular.module('angular-input-stars', [])
restrict: 'EA',
replace: true,
template: '<ul ng-class="listClass">' +
'<li ng-touch="paintStars($index)" ng-mouseleave="unpaintStars($index)" ng-repeat="item in items track by $index">' +
'<li ng-touch="paintStars($index)" ng-mouseenter="paintStars($index)" ng-mouseleave="unpaintStars($index)" ng-repeat="item in items track by $index">' +
'<i ng-class="getClass($index)" ng-click="setValue($index, $event)"></i>' +
'</li>' +
'</ul>',
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-input-stars-directive",
"version": "1.5.4",
"version": "1.5.5",
"description": "AngularJS directive for rating inputs",
"keywords": [
"angularjs",
Expand Down

0 comments on commit 5517f36

Please sign in to comment.