v0.20.230 - 6.7 / 6.2

<Range .../>

Renders one entry per number in a numeric range. Think of it as Python's range() wired into <For/>: it generates the numbers and calls the child callback with each (item, index).

# Attributes

nametypedescription
start?number | signalfirst value (default 0). Always emitted.
stop?number | signalfinal value (default 0). Inclusive when reached exactly. Count up when start < stop, down when start > stop.
step?number | signalincrement between emitted values (default 1). Negative values are normalised to their absolute value — use start and stop to pick direction.
children(item: number, index: number) => JSX.Elementcallback invoked for each emitted number. Same semantics as <For/>'s child callback.

# Simple Test

Use a Range to display some values