Nps Component
A slider component for rating
Properties
Name | Type | Default | Description |
---|---|---|---|
min | number | 0 | The minimum value for the slider. |
max | number | 10 | The maximum value for the slider. |
value | number | undefined | The current value of the slider. |
CSS Parts
Name | Description |
---|---|
container | The container that wraps the component. |
dot | The dot that represents the selected value on the slider. |
label | The label displaying the description or value of the slider. |
rate | The element that shows the selected rate. |
Check this link to learn how to use CSS parts for Nps Component.
Events
Name | Description |
---|---|
valuechange | Fired when the rating slider value changes. |