Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Counters on Same Page #7

Closed
chipallen2 opened this issue May 3, 2017 · 3 comments
Closed

Multiple Counters on Same Page #7

chipallen2 opened this issue May 3, 2017 · 3 comments

Comments

@chipallen2
Copy link

If I have multiple counters on one page - only the first one is getting the animation applied. Is that expected? Is there a workaround?

<td counter value="v" to="vNew" duration="400" effect="linear" finish="vFinished()">{{v}} </td>
<td counter value="v2" to="v2New" duration="400" effect="linear" finish="v2Finished()">{{v2}} </td>

Only the first one is getting the animation. The other one changes but just like normal.

@indrimuska
Copy link
Owner

Hi @chipallen2, could you please provide a full working sample with plunker/fiddle/codepen to reproduce this issue? Many thanks :)

@chipallen2
Copy link
Author

I tried recreating it in jsfiddle and couldn't. It works fine. The error must have been somewhere else in my code. Thanks for the great work on this plugin. It is very useful.

https://jsfiddle.net/chipallen2/vcf8rcas/

@indrimuska
Copy link
Owner

Ok, thanks for the kind words!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants