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

How to read direction of onChange #40

Open
anneangersbach opened this issue Feb 27, 2019 · 0 comments
Open

How to read direction of onChange #40

anneangersbach opened this issue Feb 27, 2019 · 0 comments
Labels

Comments

@anneangersbach
Copy link

Hi,

I want to morph SVGs according to the values of the slider. How can I find out
a) in which direction it is being dragged, so I can detect which SVG to morph to
b) how far between two values the handle is so I can time the morphing
I thought I could do this via the percent property, however that gives me some very odd values (more like px width of the slider than something that is based on 0 - 100.

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

No branches or pull requests

2 participants