Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit 7fe3d57

Browse files
committed
README updated
1 parent f697a39 commit 7fe3d57

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ As an attribute:
6868
|precision |integer|No |0 |The numerical precision to which to round the value. |
6969
|stretch |integer|No |3 |How sticky the knobs will act. 1 = no stickiness |
7070
|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()") |
7373
--
7474
### Dual Knob
7575
#### Markup
@@ -84,6 +84,8 @@ As an element:
8484
precision="{integer}"
8585
stretch="{integer}"
8686
translate="{string}"
87+
translateRange="{string}"
88+
translateCombined="{string}"
8789
scale="{string}"
8890
inverse-scale="{string}">
8991
</slider>
@@ -101,6 +103,8 @@ As an attribute:
101103
precision="{integer}"
102104
stretch="{integer}"
103105
translate="{string}"
106+
translateRange="{string}"
107+
translateCombined="{string}"
104108
scale="{string}"
105109
inverse-scale="{string}">
106110
</div>
@@ -116,9 +120,11 @@ As an attribute:
116120
|step |float |No |inf |The width between each tick. |
117121
|precision |integer|No |0 |The numerical precision to which to round the value. |
118122
|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()") |
122128

123129

124130
## Scaling

0 commit comments

Comments
 (0)