ポリマーの子テンプレートを親のテンプレートで囲む方法はありますか?
次のシャドウ タグの例では、親のテンプレートを子ビューに取り込みますが、その内容は無視されます。
親ポリマー要素
<polymer-element name="my-window">
<template>
<div class="windowframe">
<p>test</p> <!-- can be shown with shadow tag -->
<content></content> <!-- cannot be used with shadow tag -->
子ポリマー要素
<polymer-element name="my-window-example" extends="my-window">
<template>
<!-- get the hosts' shadow and insert here -->
<shadow>
<p>Here is the content of my window<p> <!--won't be shown -->
</shadow>
</template>