Skip to content

Conversation

suresh-gangumalla
Copy link
Collaborator

These changes in code-generator handles nested for-loop scenario in template.

<Element :for="(item, index) in $data" key="$item.id">
    <!-- template that handles $item first level data -->
    <Element :for="(item1, index1) in $item.list" key="$item1.id">
       <!-- template that handles $item1 information -->
       <Element :for="(item2, index2) in $item1.list" key="$item2.id">
          <!-- template that handles $item2 information -->
      </Element>
   </Element>
</Element>

Added initial functionality to handle nested for-loop

Signed-off-by: Suresh Kumar Gangumalla <[email protected]>
Signed-off-by: Suresh Kumar Gangumalla <[email protected]>
Signed-off-by: Suresh Kumar Gangumalla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant