2.5.2 • Published 5 months ago

@maggioli-design-system/mds-input-range v2.5.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

mds-input-range

This is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.

Properties

PropertyAttributeDescriptionTypeDefault
disableddisabledSets if the component is disabledboolean \| undefinedundefined
formatValue--A function to custom how value is represented((value: number) => string) \| undefinedundefined
maxmaxThe greatest value in the range of permitted valuesnumber100
minminThe lowest value in the range of permitted valuesnumber0
stepstepThe step attribute is a number that specifies the granularity that the value must adhere to, or the special value any, which is described below.number1
valuevalueThe value attribute contains a number which contains a representation of the selected number.numberundefined

Events

EventDescriptionType
mdsInputRangeChangeEmits when the input range is changedCustomEvent<number>

Shadow Parts

PartDescription
"header"The element containing the labels displayed over the input element

CSS Custom Properties

NameDescription
--mds-input-range-thumb-background
--mds-input-range-thumb-sizeSets the thumb width and height of the component
--mds-input-range-track-background
--mds-input-range-track-progress-background
--mds-input-range-track-size

Dependencies

Depends on

Graph

graph TD;
  mds-input-range --> mds-text
  style mds-input-range fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department

2.3.0

8 months ago

2.2.0

8 months ago

2.1.1

9 months ago

2.5.0

7 months ago

2.3.1

8 months ago

2.5.2

5 months ago

2.5.1

6 months ago

2.1.0

10 months ago

2.0.1

11 months ago

2.0.0

11 months ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago