Input Range: API Table
class: LionInputRange, `lion-input-range`
Fields
| Name | Privacy | Type | Default | Description | Inherited From |
|---|---|---|---|---|---|
max | public | number | Infinity | ||
maxLabel | public | string | '' | ||
min | public | number | Infinity | ||
minLabel | public | string | '' | ||
noMinMaxLabels | public | boolean | false | ||
parser | public | ||||
placeholder | public | string | '' | LionInput | |
readOnly | public | boolean | false | A Boolean attribute which, if present, indicates that the user should not be able to edit the value of the input. The difference between disabled and readonly is that read-only controls can still function, whereas disabled controls generally do not function as controls until they are enabled. (From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly) | LionInput |
scopedStylesController | public | ScopedStylesController | new ScopedStylesController(this) | ||
slots | public | LionInput | |||
step | public | number | 1 | ||
type | public | string | 'range' | LionInput | |
unit | public | string | '' | ||
_feedbackConditionMeta | protected | LionField | |||
_focusableNode | protected | LionField | |||
_inputNode | protected | HTMLInputElement | LionInput | ||
_valueDisplay | protected | Get the display info for the current value |
Methods
| Name | Privacy | Description | Parameters | Return | Inherited From |
|---|---|---|---|---|---|
clear | public | Clears modelValue. Interaction states are not cleared (use resetInteractionState for this) | LionField | ||
reset | public | Resets modelValue to initial value. Interaction states are cleared | LionField | ||
resetInteractionState | public | LionField | |||
_inputGroupInputTemplate | protected | ||||
_inputGroupTemplate | protected | ||||
_onChange | protected | Dispatches custom bubble event | ev: Event= | LionField |
Events
| Name | Type | Description | Inherited From |
|---|---|---|---|
user-input-changed | Event | LionField |
Attributes
| Name | Field | Inherited From |
|---|---|---|
min | min | |
max | max | |
unit | unit | |
step | step | |
no-min-max-labels | noMinMaxLabels | |
min-label | minLabel | |
max-label | maxLabel | |
readonly | readOnly | LionInput |
type | type | LionInput |
placeholder | placeholder | LionInput |