# ef-rating

Star visualisation component that is generally used for ranking

## Properties

| Property      | Attribute     | Type      | Default | Description                                      |
|---------------|---------------|-----------|---------|--------------------------------------------------|
| `interactive` | `interactive` | `boolean` | false   | Make it possible to interact with rating control and change the value |
| `max`         | `max`         | `string`  | "'5'"   | Set number of total stars                        |
| `value`       | `value`       | `string`  | "'0'"   | Set number of selected stars. Value can be any number between 0 and `max`.<br />Decimal values are calculated to empty star (0 - .25); half-star (.25 - .75) and full star (.75 - 1) |

## Events

| Event           | Description                                      |
|-----------------|--------------------------------------------------|
| `value-changed` | Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically. |
