scale.unselect

description

Will unselect the option currently selected.

syntax

getScale(ELEMENT_NAME).unselect()

notes

  • If the scale is a slider, it will set it back to the central value.

example(s)


@newScale("score", 10)
@  .print()
@,
@newButton("Unselect")
$  .callback( getScale("score").unselect() )
@  .print()
  • Prints a 10-point radio button scale and a button reading Unselect which, when clicked, unselects the currently selected button on the scale.