We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This plugin is awesome, but I don't use the counter in multiple times.
The text was updated successfully, but these errors were encountered:
yeah! same issue, if i use the same class .counter - it only animates the first elementwith that class.
Sorry, something went wrong.
Hello guys you can use the following code to modify the given one. Lets say that the class of the counter element is .animated_number__num
Instead of
const el = document.querySelector( '.animated_number__num' ) IO.observe( el )
Use this:
const elements = document.querySelectorAll('.animated_number__num'); elements.forEach(el => { IO.observe(el); });
No branches or pull requests
This plugin is awesome, but I don't use the counter in multiple times.
The text was updated successfully, but these errors were encountered: