Skip to content

Date iterator

An iterator that would iterate the dataSource and render the values using the child component definition

Name Description
component count-iterator
child singleton component to build into a list

Options

Name Description
start Date - starting date
steps Number - How many steps
span day, week, month - how much to increment each date
align week, month - align the first date with the start of some period
dynamic Bool - will this get rebuilt once initialized; default true

Example

{
  "component": "date-iterator",
  "options": {
    "start": "{$date}",
    "align": "week",
    "steps": 7,
    "span": "day",
    "dynamic": false
  },
  "child": {}
}