Repeater Elements are markup elements occuring repeatedly on a page. They are bound to a database query or function, displaying one element for each result of the query/function.
The element and its subtree will be rendered as many times as there are objects in the query result. A repeater element is the only element that can make new Keywords available to its child elements. This is called Data Binding.
The following screenshot shows an example of a repeater element of type
div in a page, and the resulting output. Repeater elements will be diplayed with a special icon in the Pages Tree View.
The data key of a repeater element is the name of the keyword that contains the current element of the result iteration.
- The Structr Knowledge Graph
- About Structr
- Getting Started
- Installation and Setup
- Working with Structr
- Advanced Topics