Skip to main content

Quantity Select

<sc-quantity-select></sc-quantity-select>

This component let users create quantity select field.

Component Codex

Properties

PropertyDescriptionTypeDefault
clickElHTMLElement
disabledboolean
hasFocusInputs focusboolean
maxnumberInfinity
minnumber1
quantitynumber0
size"large" | "medium" | "small"'medium'

Events

EventDescriptionType
scBlurEmitted when the control loses focus.CustomEvent<void>
scChangeCustomEvent<number>
scFocusEmitted when the control gains focus.CustomEvent<void>
scInputEmitted when the control receives input.CustomEvent<number>

Shadow Parts

PartDescription
baseThe elements base wrapper.
inputThe input control.
minusThe minus control.
minus-iconThe minus icon.
plusThe plus control.
plus-iconThe plus icon.