Range¶
Range is a numeric slider. Its MinimumXPath, MaximumXPath, StepXPath, and ValueXPath are evaluated relative to the widget's bound context. ValueXPath is the value written when the slider changes; it is separate from the widget's ordinary XPath attribute.
Bounds and Read-Only Display¶
Missing or zero-valued bounds fall back to a minimum of 0, maximum of 100, and step of 1 when the widget is created. When enabled, the widget renders a range input and its value / maximum legend. When disabled, it renders a progress bar-like display with the current value and remaining amount. Ensure the minimum and maximum do not resolve to the same value; the read-only percentage calculation requires a non-zero range.
Example¶
1 2 3 4 5 6 7 8 | |