Skip to content

Commit

Permalink
feat(hover): implement on hover events and styles
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Apr 12, 2017
1 parent 686f43d commit e5f9f2c
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 9 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
"url": "https://github.com/BioPhoton/angular-star-rating/issues"
},
"main": "./dist/index.js",
"dependencies": {},
"dependencies": {
"css-star-rating": "^1.1.3"
},
"devDependencies": {
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
Expand Down
4 changes: 4 additions & 0 deletions src/star-rating-struct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ export interface IStarRatingOnClickEvent {
export interface IStarRatingOnRatingChangeEven {
rating: number;
}

export interface IStarRatingOnHoverEvent {
hoverRating : number;
}

0 comments on commit e5f9f2c

Please sign in to comment.