sliderticks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| sliderticks [2022/12/12 10:44] – [Survey Header] admin | sliderticks [2023/03/09 17:26] (current) – admin | ||
|---|---|---|---|
| Line 54: | Line 54: | ||
| **tickChar** is the character used for tick marks. | **tickChar** is the character used for tick marks. | ||
| - | Default: " | + | Default: |
| ==== tickPadding ==== | ==== tickPadding ==== | ||
| **tickPadding** is an object of arrays that allows for tick marks to be adjusted to align with the center of the slider handle at each gridline. The adjustments specified in **tickPadding** are the differences in positioning from the number scale. Each **tickPadding** array consists of an object specifying the side of the adjustment (left or right) and the size of the adjustment in pixels. For example, a function call specifying **tickPadding** for a 3-point scale would look like this: | **tickPadding** is an object of arrays that allows for tick marks to be adjusted to align with the center of the slider handle at each gridline. The adjustments specified in **tickPadding** are the differences in positioning from the number scale. Each **tickPadding** array consists of an object specifying the side of the adjustment (left or right) and the size of the adjustment in pixels. For example, a function call specifying **tickPadding** for a 3-point scale would look like this: | ||
sliderticks.1670859840.txt.gz · Last modified: by admin
