폴리머 하위 템플릿을 부모 템플릿으로 둘러싸는 방법이 있습니까? 다음 예제 그림자 태그에서 중첩 된 폴리머 템플릿 상속
는 아이 뷰에 부모의 템플릿을 가지고 있지만, 그 내용 무시하는 것 :부모 폴리머 요소
<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>
을
성취하려는 것을 자세히 설명해 주시겠습니까? –