Created
June 17, 2018 07:10
-
-
Save mohanramphp/10bec3cb4b226b22777909b6998c5adf to your computer and use it in GitHub Desktop.
This to show how to use the rating component by sending the configuration to that component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="text-align:center"> | |
<h1> | |
Lets rate it! | |
</h1> | |
<lib-ratify [grade]="grade" [maxRating]="maxRating" [showRatingCounter]="showRatingCounter" (triggerRatingSelection)="selectedRating($event)"></lib-ratify> | |
<h1 *ngIf="myRating"> | |
Rated to {{myRating}} | |
</h1> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment