What really confuses me about neon animations is that it seems like you 
need to define your animations within the custom elements? Is that right? 
So for example I have a grid of cards that I want to animate in from the 
bottom one by one, something like this:
http://morethanreal.github.io/neon-animation-demo/bower_components/neon-animation/demo/load/index.html

Does this mean the animation has to be defined within that custom grid 
element? So meaning a) you need to have a custom element to use your 
animations on and b) you need to define those animations directly within 
the element?
That would seem quite non-destructive, meaning that whenever I'd want to 
change the animations we'd have to change the element itself, whereas it 
would be smarter to have the animations stored in an external script like 
animation.js, so it's easily transferable to other elements.

Am I just misunderstanding this? From the demos it seems the animations are 
always embedded directly in the custom element.

Am Dienstag, 19. Mai 2015 23:21:02 UTC+8 schrieb Vincent Uribe:
>
> Hi everybody!
>
> Does anyone have a working example of a neon-animated-pages? I guess this 
> element will replace the core-animated-pages I (heavily) used in the 
> project I'm migrating.
>
> I use it like that : 
> <neon-animated-pages id="content"  valueattr="hash">
> <div hash="page1">Page 1</div>
> <div hash="page2">Page 2</div>
> <div hash="page3">Page 3</div>
> </neon-animated-pages>
>
> Some js...
> this.$.content.selected =  'page' + value.uid;
>
> If I put a on-selected-changed I can see the changed occurs but the 
> transition does not occur.
>
> Thanks!
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/18a25d53-63a8-4e67-90fb-7a109f0527f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to