Closed vguillou closed 7 years ago
If you use the 'excludedLocalNames' attribute of the core-selector (typically to insert separators in a menu), routing is then broken.
Here is an example :
<more-route-selector> <core-menu excludedLocalNames="div" on-core-select="{{menuItemSelectedHandler}}"> <div class="separator">Simple routing</div> <core-item icon="home" label="Home" route="home"> <a href="{{urlFor('home')}}"><paper-ripple fit></paper-ripple></a> </core-item> <core-item icon="book" label="Page A" route="page-a"> <a href="{{urlFor('page-a')}}"><paper-ripple fit></paper-ripple></a> </core-item> <div class="separator">Nested page</div> <core-item icon="work" label="Page B" route="page-b"> <a href="{{urlFor('page-b')}}"><paper-ripple fit></paper-ripple></a> </core-item> </core-menu> </more-route-selector>
If you use the 'excludedLocalNames' attribute of the core-selector (typically to insert separators in a menu), routing is then broken.
Here is an example :