disabled |
Boolean |
Is the slider disabled? |
false |
- |
editValue |
Boolean |
Can the displayed value(s) be edited? |
false |
- |
fullTrack |
Boolean |
Should the track span the full slider or leave space for the slider thumbs to go partially outside? If false , indicates that the thumb always reads from the center of the thumb. If true indicates that the value position is sliding inside the thumb: when the thumb is at the leftmost position, the value position is at the left side of the thumb, when the thumb is at 50% the value position is at the center of the thumb, and when the thumb is at the rightmost position the value position is at the right side of the thumb. |
false |
- |
iconSet |
String |
An iconset for the slider icons |
|
- |
label |
String |
The slider label |
"" |
- |
labelAlignment |
String |
The alignment of the slider label. Supported values are: left , center , and right . |
"left" |
- |
labelVariant |
String |
The variant of the label. Intended for theming. |
|
- |
maxIcon |
String |
The icon on the max side of the slider |
null |
- |
maxIconSize |
String |
The icon size of maxIcon |
|
- |
maxLabel |
String |
The label for the max side of the slider |
|
- |
maxValue |
Number |
The maximum value for the slider. |
100 |
- |
minIcon |
String |
The icon for the min side of the slider |
null |
- |
minIconSize |
String |
The icon size of minIcon |
|
- |
minLabel |
String |
The label for the min side of the slider |
|
- |
minValue |
Number |
The minimum value of the slider. |
0 |
- |
minValueWidth |
Number |
The minimum width for the value container. |
34 |
- |
maxValueWidth |
Number |
The maximum width for the value container (single line truncation overflow pattern). |
96 |
- |
numStep |
Number |
The number of discrete steps the that the slider range will be partitioned into. Only one of numStep and sizeStep should be specified. If neither are specified, the slider is continuous. |
|
- |
overlapThumbs |
Boolean |
When the slider has two thumbs (for selecting ranges), can they overlap? |
false |
|
precision |
Number |
Number of fraction digits for value and value2. If 0 then the slider selects integers. |
0 |
- |
range |
Boolean |
Is the slider selecting a range instead of a single value? That is, use two thumbs instead of one? |
false |
- |
reverseLabels |
Boolean |
Swap the location of the labels and values? |
false |
- |
reverseMinmax |
Boolean |
Swap the location of the min and max sides? |
false |
- |
showValue |
String |
Show the current value(s)? The options are: yes , no , true , false , or drag . The latter means that the value is only displayed when dragging the thumb. |
false |
- |
sizeStep |
Number |
The size of a slider step. Only one of sizeStep and numStep should be specified. If neither are specified, the slider is continuous. |
|
- |
tabindex |
Number |
An HTML tabindex. When assigned the controls can be focused and supports keyboard navigation |
|
- |
thumb2Icon |
String |
Icon for the range thumb (the second thumb) |
null |
- |
thumbIcon |
String |
Icon for the thumb |
null |
- |
thumbSize |
Number |
Size of thumb. Thumbs are squared. |
44 |
- |
thumbTooltip |
String |
Tooltip text for thumb |
"" |
- |
thumbTooltipIcon |
String |
Icon for the thumb tooltip |
"" |
- |
thumb2Tooltip |
String |
Tooltip text for second thumb (on range slider) |
|
- |
thumb2TooltipIcon |
String |
Icon for the second thumb tooltip (on range slider) |
|
- |
trackPlacement |
String |
Placement of the track relative to the thumb. Options: center , start , end . Horizontal sliders may use top instead of start and bottom instead of end . Vertical sliders may use left and right . |
"center" |
- |
trackSize |
Number |
width (if vertical) or height (if horizontal) of the slider track. |
20 |
- |
value |
Number |
Current value of slider. |
0 |
yes |
value2 |
Number |
Current value of second thumb, if slider is a range slider. |
100 |
yes |
variant |
String |
The variant of the slider. Intended for theming. |
|
- |
vertical |
Boolean |
Is slider orientation vertical instead of horizontal? |
false |
- |
hideMinMaxLabels |
Boolean |
Hide min/max labels? |
|
- |
validity |
String |
Returns the value of validation: "undefined", "unverified", "invalid" or "valid" |
"undefined" |
- |
extraValidation |
Function |
Custom client validation function. This is invoked with the slider component itself as parameter, so that it can use any ptcs-slider property for custom validation. Can return true (= valid), false (= invalid), or undefined (ignore validation) |
|
- |
externalValidity |
String |
Controls the state of the validation. You can set this property to unvalidated, valid, or invalid. |
|
- |
hideValidationCriteria |
Boolean |
Don't show validation criteria in unvalidated state? |
|
- |
hideValidationError |
Boolean |
Don't show validation error state? |
|
- |
hideValidationSuccess |
Boolean |
Don't show validation success state? |
|
- |
minValidValue |
Number |
Validation criterion: minimum slider value |
|
- |
minValueFailureMessage |
String |
The message to display when the value is invalid because of min slider value |
|
- |
maxValidValue |
Number |
Validation criterion: maximum slider value |
|
- |
maxValueFailureMessage |
String |
The message to display when the current value exceeds the maximum slider value |
|
- |
validationCriteria |
String |
The validation details message |
|
- |
validationCriteriaIcon |
String |
Icon for criteria state (unvalidated). |
"cds:icon_info" |
- |
validationErrorIcon |
String |
Icon for error state (invalid). |
"cds:icon_error" |
- |
validationMessage |
String |
The validation (title) message |
|
- |
validationSuccessDetails |
String |
The validation success details message |
|
- |
validationSuccessIcon |
String |
Icon for success state (valid). |
"cds:icon_success" |
- |
validationSuccessMessage |
String |
The validation success (title) message. |
"Success" |
- |
### Methods |
|
|
|
|