googlearchive / paper-menu

A Material Design menu
https://www.webcomponents.org/element/PolymerElements/paper-menu
27 stars 48 forks source link

Dynamic recursive menu does not work #47

Closed maxiplay closed 8 years ago

maxiplay commented 9 years ago

Hi,

I try to code a component that do a recursive call based on data from table.

With static way it work, but with recursive no.

I have done a plunker

http://plnkr.co/edit/KqR3X5PKfuTKq7oNgTvO

bicknellr commented 8 years ago

Hi @maxiplay, inside recursive-menu-element, if you change nested-menu-element to recursive-menu-element and add class="menu-content" to it, it works. Here's an updated version of your demo.

maxiplay commented 8 years ago

My differents test drive me to use an element (nested-menu-element) who did not exist^^ Thank you. I had stopped to work on this waiting a response (long time). Now I will can continue :)