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
{{ message }}
This repository was archived by the owner on Nov 15, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,8 +68,8 @@ As an attribute:
68
68
|precision |integer|No |0 |The numerical precision to which to round the value. |
69
69
|stretch |integer|No |3 |How sticky the knobs will act. 1 = no stickiness |
70
70
|translate |string |No |none |A translation function to apply to all view values. Be sure to omit the parentheses (e.g. "transFunc" instead of "transFunc()") |
71
-
|scale |string |No |none |A scaling function to apply to the value. See the `Scaling` section below for more details. |
72
-
|inverse-scale |string|No |none |The inverse of the scaling function. This is required if a scaling function is specified. See the `Scaling` section below for more details. |
71
+
|scale |string |No |none |A scaling function to apply to the value. See the `Scaling` section below for more details. Be sure to omit the parentheses (e.g. "scaleFunc" instead of "scaleFunc()") |
72
+
|inverse-scale |string|No |none |The inverse of the scaling function. This is required if a scaling function is specified. See the `Scaling` section below for more details. Be sure to omit the parentheses (e.g. "scaleFunc" instead of "scaleFunc()") |
73
73
--
74
74
### Dual Knob
75
75
#### Markup
@@ -84,6 +84,8 @@ As an element:
84
84
precision="{integer}"
85
85
stretch="{integer}"
86
86
translate="{string}"
87
+
translateRange="{string}"
88
+
translateCombined="{string}"
87
89
scale="{string}"
88
90
inverse-scale="{string}">
89
91
</slider>
@@ -101,6 +103,8 @@ As an attribute:
101
103
precision="{integer}"
102
104
stretch="{integer}"
103
105
translate="{string}"
106
+
translateRange="{string}"
107
+
translateCombined="{string}"
104
108
scale="{string}"
105
109
inverse-scale="{string}">
106
110
</div>
@@ -116,9 +120,11 @@ As an attribute:
116
120
|step |float |No |inf |The width between each tick. |
117
121
|precision |integer|No |0 |The numerical precision to which to round the value. |
118
122
|stretch |float |No |3 |How sticky the knobs will act. 1 = no stickiness |
119
-
|translate |string |No |none |A translation function to apply to all view values. Be sure to omit the parentheses (e.g. "transFunc" instead of "transFunc()") |
120
-
|scale |string |No |none |A scaling function to apply to the value. See the `Scaling` section below for more details. |
121
-
|inverse-scale|string|No |none |The inverse of the scaling function. This is required if a scaling function is specified. See the `Scaling` section below for more details. |
123
+
|translate |string |No |none |A translation function to apply to most of the view values. Be sure to omit the parentheses (e.g. "transFunc" instead of "transFunc()") |
124
+
|translate-range|string|No |none |A translation function to apply to the range value. Be sure to omit the parentheses (e.g. "transFunc" instead of "transFunc()") |
125
+
|translate-combined|string|No |none |A translation function to apply to the combined value (when the knobs are too close together). Be sure to omit the parentheses (e.g. "transFunc" instead of "transFunc()") |
126
+
|scale |string |No |none |A scaling function to apply to the value. See the `Scaling` section below for more details. Be sure to omit the parentheses (e.g. "scaleFunc" instead of "scaleFunc()") |
127
+
|inverse-scale|string|No |none |The inverse of the scaling function. This is required if a scaling function is specified. See the `Scaling` section below for more details. Be sure to omit the parentheses (e.g. "scaleFunc" instead of "scaleFunc()") |
0 commit comments