I am tying to set different transform duration or delay of
core-animated-pages for some specific animations, my code looks like this:
<core-animated-pages transitions="scale-up">
<section id="first">
<div scale-up>I should have a delay of .5s</div>
<div scale-up>I should have a delay of 1s</div>
</section>
<section id="second" layout horizontal>
...
</section>
</core-animated-pages>
As far as I looked, there is no way to do that. I can set the delay with
CoreStyle.g.transitions.scaleDelay. This would modify the delay but both
animations would have the same value.
Another option would be to create a custom-scale-up.html file defining my
own values.
Is there any other way. Something simple and declarative would be nice:
<div scale-up scale-up-delay=".5s"></div>
Thank you
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/5bbb56dc-fb79-473d-9d2a-caac7ca8ad16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.