p-for
PrunePy’s p-for
directive allows you to create DOM elements by iterating through a list.
You can iterate over store values too but in this examples we only iterate on raw values.
Here’s a simple example of using it to create a list of colors based on an array :
Iterate on a range
Iterate on dict
- -