RateSlider
The rate slider component.
- Import
import "@tapsioss/web-components/rate-slider";
- Tag
<tapsi-rate-slider></tapsi-rate-slider>
Properties
Name | Description | Type | Default Value |
---|---|---|---|
value | The current value of the input. It is always a string. | string | "" |
name | The HTML name to use in form submission. | string | "" |
valuetext | Defines the human-readable text alternative of value. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-valuetext | string | "" |
label | Defines a string value that can be used to name input. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label | string | "" |
labelledby | Identifies the element (or elements) that labels the input. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledby | string | "" |
max | Defines the maximum value in the range of permitted values. Defaults to "10". https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max | string | "10" |
min | Defines the minimum value in the range of permitted values. Defaults to "0". https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min | string | "0" |
Events
Name | Description | Type |
---|---|---|
change | Fired when value changes (Bubbles). | Event |