4 <title>core-animated-pages
</title>
5 <script src=
"../../platform/platform.js"></script>
6 <link href=
"nested-animated-pages.html" rel=
"import">
10 font-family: 'Roboto
2', 'Helvetica Neue', Helvetica, Arial, sans-serif;
27 <polymer-element name=
"nested-demo">
47 display: inline-block;
52 background-color: orange;
57 <core-animated-pages selected=
"{{page}}" transitions=
"hero-transition cross-fade">
59 <section on-tap=
"{{transition}}" layout horizontal center-justified
>
61 <div class=
"square" id=
"thing1" hero-id=
"thing" hero?=
"{{subpage === 0}}" cross-fade?=
"{{subpage !== 0}}">thing
1</div>
62 <div class=
"square" id=
"thing2" hero-id=
"thing" hero?=
"{{subpage === 1}}" cross-fade?=
"{{subpage !== 1}}">thing
2</div>
66 <nested-animated-pages page=
"{{subpage}}" on-nested-back=
"{{back}}"></nested-animated-pages>
68 </core-animated-pages>
72 Polymer('nested-demo', {
77 transition: function(e
) {
80 if (el
.id
=== "thing1") {
86 setTimeout(function() {
100 <nested-demo></nested-demo>