Control¶
Represents a standalone interactive control bound to a variable. In a
Jupyter notebook or the playground, Control renders as an interactive
widget (a slider, popup menu, 2D slider, or interval slider). Because the
widget cannot be compared textually, the examples below use Head[...] to
verify that the expression is held as a Control.
A continuous slider:
A popup menu over a discrete list of values:
A 2D slider, given either as a pair of corner points or via
ControlType -> Slider2D:
An interval slider:
An initial value and label may be given in the variable slot: