0
종이 탭용 폴리머 철판 모델 처리 방법. 아래 코드를 참조하십시오 :철 페이퍼 모델 바인딩이있는 폴리머 용지 탭
<paper-tabs selected="{{selected}}">
<paper-tab>Tab 1</paper-tab>
<paper-tab>Tab 2</paper-tab>
</paper-tabs>
<iron-pages selected="{{selected}}">
<div>
{{model.tab1.content}} //not working
</div>
<div>
{{model.tab2.content}} //not working
</div>
</iron-pages>
<script>
Polymer({
is: "my-element",
properties: {
model: {
type: Object,
value: {tab1...}
}
}
});
</script>
따라서, model.tab1.content는 철 페이지 내부에서 작동하지 않습니다.
에 대한 요지로 연결되는 링크가 정확히 어떻게 그것이 작동하지 않는입니까? – tony19