You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Slider component for displaying current value and intervals in range.
@@ -16,9 +16,8 @@ To input a value in a range.
16
16
| Property | Description | Type | Default | Version |
17
17
| --- | --- | --- | --- | --- |
18
18
| autofocus | get focus when component mounted | boolean | false ||
19
-
| disabled | If true, the slider will not be interactable. | boolean | false ||
19
+
| disabled | If true, the slider will not be intractable. | boolean | false ||
20
20
| dots | Whether the thumb can drag over tick only. | boolean | false ||
21
-
| getTooltipPopupContainer | The DOM container of the Tooltip, the default behavior is to create a div element in body. | Function | () => document.body | 1.5.0 |
22
21
| handleStyle | The style of slider handle | CSSProperties | - ||
23
22
| included | Make effect when `marks` not null,`true` means containment and `false` means coordinative | boolean | true ||
24
23
| mark | Custom tick mark of Slider, | v-slot:mark| { point: number, label: any } | 3.0 |
| step | The granularity the slider can step through values. Must greater than 0, and be divided by (max - min) . When `marks` no null, `step` can be `null`. | number\|null | 1 ||
31
-
| tipFormatter | Slider will pass its value to `tipFormatter`, and display its value in Tooltip, and hide Tooltip when return value is null. | Function\|null | IDENTITY ||
| tooltipVisible | If true, Tooltip will show always, or it will not show anyway, even if dragging or hovering. | Boolean |||
34
30
| trackStyle | The style of slider track | CSSProperties | - ||
35
31
| value(v-model) | The value of slider. When `range` is `false`, use `number`, otherwise, use `[number, number]`| number\|number\[]|||
36
32
| vertical | If true, the slider will be vertical. | Boolean | false ||
33
+
| tipFormatter | Slider will pass its value to `tipFormatter`, and display its value in Tooltip, and hide Tooltip when return value is null. | Function\|null | IDENTITY ||
| tooltipOpen | If true, Tooltip will show always, or it will not show anyway, even if dragging or hovering. | Boolean || 4.0 |
36
+
| getTooltipPopupContainer | The DOM container of the Tooltip, the default behavior is to create a div element in body. | Function | () => document.body | 1.5.0 |
0 commit comments