I have been writing a custom element which transform a non-binary tree data structure into nested paper-submenus, using component-based recursion. However, it seems there is an issue either with data binding or the attachment of DOM nodes as it doesn't work past the first level.
Description
I have been writing a custom element which transform a non-binary tree data structure into nested paper-submenus, using component-based recursion. However, it seems there is an issue either with data binding or the attachment of DOM nodes as it doesn't work past the first level.
Expected outcome
For the following data:
I expect the resulting structure to be:
Actual outcome
Live Demo
https://embed.plnkr.co/GUwZ7tOfw1eInDEYWDuT/
Browsers Affected
Only tested in Chrome