xxxxxxxxxx
<core-menu
valueattr="hash"
selected="{{ route }}"
selectedModel="{{ selectedPage }}">
<template repeat="{{ menu }}">
<template if="{{ submenu }}">
<core-submenu label="{{ name }}" icon="{{ icon }}">
<template repeat="{{ submenu }}">
<paper-item hash="#{{ path }}" label="{{ name }}">
<a href="#{{ path }}"></a>
</paper-item>
</template>
</core-submenu>
</template>
<template if="{{ !submenu }}">
<paper-item hash="#{{ path }}" label="{{ name }}" icon="{{ icon }}">
<a href="#{{ path }}"></a>
</paper-item>
</template>
</template>
</core-menu>