Skip to content

Commit 1ee4b61

Browse files
committed
Updated requirements.
1 parent ed1965d commit 1ee4b61

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/web-components/src/components/cbp-slider/cbp-slider.specs.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ The primary use for the Slider component is to select a value within a range.
1212

1313
* The Slider component wraps the slotted native form control (`input type="range"`) to provide custom, cross-browser styling and additional functionality.
1414
* The Slider component shall be slotted within the `cbp-form-field` component to supply an accessible label and description.
15+
* The component will show the min/max values to the left and right of the slider control by default, but these may be hidden.
16+
* The component will show a numeric input to the right of the slider by default, which is synced with the slider control. This control may be optionally hidden.
17+
* Optional named slots also exist before and after the slider control for adding custom content, such as icons or time-based values.
1518

1619
## Technical Specifications
1720

@@ -27,7 +30,7 @@ The primary use for the Slider component is to select a value within a range.
2730
* Users can enter an exact numeric value into the input field.
2831
* This input is synchronized with the slider in terms of min, max, step, and value.
2932
* While the numeric input buttons are hidden, the up and down arrow keys may still be used to increments and decrement the value (by the step value) respectively.
30-
* This input has no `name` attribute and will not be submitted with a native form submission (the `input[type=range]` is submitted if it has a `name`.)
33+
* This input has no `name` attribute and will not be submitted with a native form submission (the `input type=range` is submitted if it has a `name`.)
3134

3235
### Responsiveness
3336

0 commit comments

Comments
 (0)