4.7.2 • Published 10 months ago
@ecl/twig-component-range v4.7.2
ECL Range component
npm package: @ecl/twig-component-range
npm install --save @ecl/twig-component-range
Parameters:
- "id" (string) (default: '')
- "min" (integer) (default: '') Minimum value of the range
- "max" (integer) (default: '') Maxium value of the range
- "step" (integer) (default: '') Granularity of the range
- "value" (integer) (default: '') Default value of the range
- "disabled" (boolean) (default: false)
- "invalid" (boolean) (default: false)
- "required" (boolean) (default: false)
- "name" (string) (default: '')
- "width" (string) (default: 'm') Input width size (s, m or l)
- "extra_label_classes" (string) (default: '') Extra classes (space separated) for the range label
- "extra_group_classes" (optional) (string) (default: '') Extra classes (space separated) for the range group
- "extra_classes" (optional) (string) (default: '') Extra classes (space separated)
- "extra_attributes" (optional) (array) (default: []) Extra attributes
- "name" (string) Attribute name, eg. 'data-test'
- "value" (string) Attribute value, eg: 'data-test-1'
Example:
{% include '@ecl/range/range.html.twig' with {
id: 'example-range-id',
min: 0,
max: 30,
value: 15,
width: 'm',
value_text: 'Value: ',
required: false,
extra_classes: 'my-extra-class-1 my-extra-class-2',
extra_attributes: [
{ name: 'data-test-1', value: 'data-test-value-1' },
{ name: 'data-test-2', value: 'data-test-value-2' }
]
} %}
4.7.2
10 months ago
4.8.1
10 months ago
4.7.1
10 months ago
4.8.0
10 months ago
4.6.3
12 months ago
4.6.2
12 months ago
4.6.5
11 months ago
4.6.4
12 months ago
4.5.0
1 year ago
4.2.3
1 year ago
4.4.0
1 year ago
4.2.2
1 year ago
4.7.0
11 months ago
4.6.1
1 year ago
4.6.0
1 year ago
4.3.0
1 year ago
4.2.1
1 year ago
4.2.0
1 year ago
4.1.2
1 year ago
4.1.1
1 year ago
4.1.0
1 year ago
4.0.2
1 year ago
4.0.1
1 year ago
4.0.0
1 year ago
4.0.0-beta-3
2 years ago
4.0.0-beta-2
2 years ago
4.0.0-beta-1
2 years ago
3.13.0
2 years ago
3.12.1
2 years ago
3.12.0
2 years ago
3.11.0
2 years ago
3.10.0
2 years ago
3.11.1
2 years ago
3.9.1
2 years ago
3.9.0
2 years ago
3.8.5
2 years ago
3.8.0
2 years ago
3.7.1
3 years ago
3.8.4
2 years ago
3.8.3
2 years ago
3.8.2
2 years ago
3.8.1
2 years ago
3.7.0
3 years ago
3.6.0
3 years ago