Overview
Input |
Type |
Default |
Description |
rate |
number |
0 |
Initial value of displayed rating. |
max |
number |
5 |
Max rating value - number of stars |
displayMode |
boolean |
false |
Switch to display mode. It also enables displaying
fractional values. |
Outputs
Output |
Type |
Description |
rateChange |
EventEmitter of number |
Emits rating value when it changes. |
hoover |
EventEmitter of number |
Emits rating value hoovered by user. |
Example
HTML:
TypeScript: