hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

selection-loop

Iterates over children or descendants of the selected element.
Parameter
Type
Description
children
selector
CSS selector to filter child elements (optional)
descendants
selector
CSS selector to filter descendant elements (optional)
accumulate
type
Type to accumulate from loop iterations (optional)
commands
commands
Commands to execute for each element
return
void
Void