Skip to main content

Slider

Slider. The current value goes into {Inputs.<Name>}.

Signature

Attributes

Content syntax

Runtime behavior

  • Renders a native range input using the theme accent color.
  • Dragging writes a number to {Inputs.Name}.
  • OnChange fires on every value change; throttle inside the function for high-frequency use.
  • Min may exceed Max, but the browser then handles it as a range; keep Min < Max.

Example

Gotchas

  • It cannot be bound to Media.Volume directly (Media.Volume is a static attribute).
  • The value is a number and is converted to a string automatically when bound into text.