Slider
Slider. The current value goes into{Inputs.<Name>}.
Signature
Attributes
Content syntax
Runtime behavior
- Renders a native
rangeinput using the theme accent color. - Dragging writes a number to
{Inputs.Name}. OnChangefires on every value change; throttle inside the function for high-frequency use.Minmay exceedMax, but the browser then handles it as a range; keepMin < Max.
Example
Gotchas
- It cannot be bound to
Media.Volumedirectly (Media.Volumeis a static attribute). - The value is a number and is converted to a string automatically when bound into text.