neon-animation icon indicating copy to clipboard operation
neon-animation copied to clipboard

Give each animation a callback function via animationConfig

Open AndreasGalster opened this issue 10 years ago • 1 comments

I find myself dealing with really, extremely ugly "meh sort of works but I was really lucky there I still found it" workarounds when dealing with many Polymer animations. Very often you need to perform a certain action after an animation. Problem is: You only have one 'callback', which is the neon-animation-finish event. This creates a lot of problems when having to create different actions based on which animation just has finished playing, since neon-animation-finish doesn't care which animation finished playing.

AndreasGalster avatar Nov 21 '15 07:11 AndreasGalster

Thanks for the request. I think ideally we would facilitate this through some kind of event.

cdata avatar Dec 10 '15 23:12 cdata