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
Copy file name to clipboardExpand all lines: core/src/components/range/range.tsx
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -35,22 +35,22 @@ import type {
35
35
* @part tick-active - An active tick mark.
36
36
* @part bar - The inactive part of the bar.
37
37
* @part bar-active - The active part of the bar.
38
-
* @part knob-handle - The container element that wraps the knob and handles drag interactions.
39
-
* @part knob-handle-a - The container element for the first knob. Only available when `dualKnobs` is `true`.
40
-
* @part knob-handle-b - The container element for the second knob. Only available when `dualKnobs` is `true`.
41
-
* @part knob-handle-lower - The container element for the lower knob. Only available when `dualKnobs` is `true`.
42
-
* @part knob-handle-upper - The container element for the upper knob. Only available when `dualKnobs` is `true`.
43
-
* @part pin - The counter that appears above a knob.
44
-
* @part pin-a - The counter that appears above the first knob. Only available when `dualKnobs` is `true`.
45
-
* @part pin-b - The counter that appears above the second knob. Only available when `dualKnobs` is `true`.
46
-
* @part pin-lower - The counter that appears above the lower knob. Only available when `dualKnobs` is `true`.
47
-
* @part pin-upper - The counter that appears above the upper knob. Only available when `dualKnobs` is `true`.
48
-
* @part knob - The visual knob element that appears on the range track.
49
-
* @part knob-a - The visual knob element for the first knob. Only available when `dualKnobs` is `true`.
50
-
* @part knob-b - The visual knob element for the second knob. Only available when `dualKnobs` is `true`.
51
-
* @part knob-lower - The visual knob element for the lower knob. Only available when `dualKnobs` is `true`.
52
-
* @part knob-upper - The visual knob element for the upper knob. Only available when `dualKnobs` is `true`.
53
-
* @part activated - Added to the knob-handle, knob, and pin when the knob is activated (has the `ion-activated` class). Only one set has this part at a time when `dualKnobs` is `true`.
38
+
* @part knob-handle - The container that wraps the knob and handles drag interactions.
39
+
* @part knob-handle-a - The container for the knob with the static `A` identity when `dualKnobs` is `true`. This identity does not change, even if the knobs cross and swap which one represents the lower or upper value.
40
+
* @part knob-handle-b - The container for the knob with the static `B` identity when `dualKnobs` is `true`. This identity does not change, even if the knobs cross and swap which one represents the lower or upper value.
41
+
* @part knob-handle-lower - The container for the knob whose current `value` is `lower` when `dualKnobs` is `true`. The lower and upper parts swap which knob handle they refer to when the knobs cross.
42
+
* @part knob-handle-upper - The container for the knob whose current `value` is `upper` when `dualKnobs` is `true`. The lower and upper parts swap which knob handle they refer to when the knobs cross.
43
+
* @part pin - The value indicator displayed above a knob.
44
+
* @part pin-a - The value indicator above the knob with the static `A` identity when `dualKnobs` is `true`. This identity does not change, even if the knobs cross and swap which one represents the lower or upper value.
45
+
* @part pin-b - The value indicator above the knob with the static `B` identity when `dualKnobs` is `true`. This identity does not change, even if the knobs cross and swap which one represents the lower or upper value.
46
+
* @part pin-lower - The value indicator above the knob whose current `value` is `lower` when `dualKnobs` is `true`. The lower and upper parts swap which pin they refer to when the knobs cross.
47
+
* @part pin-upper - The value indicator above the knob whose current `value` is `upper` when `dualKnobs` is `true`. The lower and upper parts swap which pin they refer to when the knobs cross.
48
+
* @part knob - The visual knob element on the range track.
49
+
* @part knob-a - The visual knob for the static `A` identity when `dualKnobs` is `true`. This identity does not change, even if the knobs cross and swap which one represents the lower or upper value.
50
+
* @part knob-b - The visual knob for the static `B` identity when `dualKnobs` is `true`. This identity does not change, even if the knobs cross and swap which one represents the lower or upper value.
51
+
* @part knob-lower - The visual knob whose current `value` is `lower` when `dualKnobs` is `true`. The lower and upper parts swap which knob they refer to when the knobs cross.
52
+
* @part knob-upper - The visual knob whose current `value` is `upper` when `dualKnobs` is `true`. The lower and upper parts swap which knob they refer to when the knobs cross.
53
+
* @part activated - Added to the knob-handle, knob, and pin when the knob is active. Only one set has this part at a time when `dualKnobs` is `true`.
54
54
* @part focused - Added to the knob-handle, knob, and pin that currently has focus. Only one set has this part at a time when `dualKnobs` is `true`.
55
55
* @part hover - Added to the knob-handle, knob, and pin when the knob has hover. Only one set has this part at a time when `dualKnobs` is `true`.
56
56
* @part pressed - Added to the knob-handle, knob, and pin that is currently being pressed to drag. Only one set has this part at a time when `dualKnobs` is `true`.
@@ -523,7 +523,7 @@ export class Range implements ComponentInterface {
523
523
* started dragging the knob.
524
524
*
525
525
* This is necessary to determine which knob the user is dragging,
526
-
* especially when it's a dual knob.
526
+
* especially when using dual knobs.
527
527
* Plus, it determines when to apply certain styles.
528
528
*
529
529
* This only needs to be done once since the knob won't change
@@ -552,7 +552,7 @@ export class Range implements ComponentInterface {
552
552
* dragged the knob. They just tapped on the bar.
553
553
*
554
554
* This is necessary to determine which knob the user is changing,
555
-
* especially when it's a dual knob.
555
+
* especially when using dual knobs.
556
556
* Plus, it determines when to apply certain styles.
0 commit comments