Skip to content

RateSlider

The rate slider component.

  • Import
    import "@tapsioss/web-components/rate-slider";
  • Tag
    <tapsi-rate-slider></tapsi-rate-slider>

Properties

NameDescriptionTypeDefault Value
valueThe current value of the input. It is always a string.string""
nameThe HTML name to use in form submission.string""
valuetextDefines the human-readable text alternative of value. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-valuetextstring""
labelDefines a string value that can be used to name input. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelstring""
labelledbyIdentifies the element (or elements) that labels the input. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledbystring""
maxDefines the maximum value in the range of permitted values. Defaults to "10". https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxstring"10"
minDefines the minimum value in the range of permitted values. Defaults to "0". https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minstring"0"

Events

NameDescriptionType
changeFired when value changes (Bubbles).Event