scale.vertical
description
Makes the buttons and labels of the scale appear vertically, with the initially left-most value to the bottom and the initially right-most value on top.
syntax
getScale(ELEMENT_NAME).vertical()
notes
- If you also use
.labelsPosition
, top labels will accordingly appear on the right, and bottom labels will appear on the left.
example(s)
@newScale("slider", 100)
@ .slider()
$ .vertical()
@ .print()
- Adds a 100-point vertical slider to the page and a button to validate.