<fx-repeat>

Description

Repeats template for each node of the referenced nodeset.

For each data node in the referenced nodeset one <fx-repeatitem> element will be created that will contain the evaluated template as content.

Attributes

NameDescription
ididentifier for repeat
refXPath reference pointing to the bound node

Events

NameDescriptionDetails
item-createddispatched when a new repeat entry is created‘path’ - a canonical xpath
‘index’ - the index of the new item
path-mutateddispatched when repeat nodeset changes‘path’ - the mutation path
‘index’ - the index of the changed repeat item.
no-template-errordispatched when there’s no template defined‘id’ - the repeat id

Examples