Join the wishlist

Repeat

Renders its children once per row of wired data. The children are the template.

Point a Repeat at wired rows and design one child as the template: a card, a row, anything. It renders once per row, and inside the template row('column') reads the current row's value. The Repeat itself draws nothing and owns no layout: put it inside a frame, and the frame's stack or grid decides how the copies flow. A table is a grid frame with a Repeat inside; a card wall is the same with a card template.

Properties

  • Binding: the wired rows the template repeats over. Required.
  • Limit: render at most this many rows. Omit for all.
  • Empty: the quiet words shown when there are zero rows.

Buttons inside the template act on their row

A button in the template can capture the current row's values when it fires, and carry the row along when it navigates. See Button.

Repeat · Docs · Tentis