Skip to content

Stepper

The stepper input component.

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

Properties

NameDescriptionTypeDefault Value
sizeThe size of the input."sm" | "md""md"
valueThe current value of the input. It is always a string.string""
nameThe HTML name to use in form submission.string""
unitThe unit of the value.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""
readonlyIndicates whether or not a user should be able to edit the input's value. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonlybooleanfalse
maxDefines the maximum value in the range of permitted values. Defaults to "100". https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxstring"100"
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"
stepReturns or sets the element's step attribute, which works with min and max to limit the increments/decrements at which the input value can be set. Defaults to "1". https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#stepstring"1"

Events

NameDescriptionType
changeFires when value changes (Bubbles).Event