animation - Animating children element in Polymer -


is possible animate children elements without wrapping them in custom-element has polymer.neonanimatablebehavior? seems overkill have wrap each animatable element custom element.

you can useneon-animatable

simple container element implementing polymer.neonanimatablebehavior. convenience element use <neon-animated-pages>.

 <neon-animated-pages selected="0"                  entry-animation="slide-from-right-animation"                  exit-animation="slide-left-animation">   <neon-animatable>1</neon-animatable>   <neon-animatable>2</neon-animatable>  </neon-animated-pages> 

Comments

Popular posts from this blog

testing - Detect whether test has failed within fixture -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

android - Create single AAR file from multiple modules using Gradle -