Aitor Posted August 26 Share Posted August 26 How can I programmatically act on an input[type="range"]? In the codePen can be seen that when you swipe manually the value is updated but when you swipe with the button the value is not updated. Thank you! See the Pen dywYrjp?editors=1111 by aitormendez (@aitormendez) on CodePen Link to comment Share on other sites More sharing options...
Solution Carl Posted August 26 Solution Share Posted August 26 I would create a single animation that has an onUpdate function that is used to update the slider value and the displayed number See the Pen qBLOwZR?editors=0011 by snorkltv (@snorkltv) on CodePen 4 Link to comment Share on other sites More sharing options...
Aitor Posted August 26 Author Share Posted August 26 Understood! Thank you very much. 🙏 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now