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
Allow user to set the progress of slider #37
Comments
@patrickelectric Please, check 0.5.4 version. I've added a new prop "position" where you can pass the progress percentage (from 0 to 100) of the slider. |
@j2only it appears that completed it not being emitted once position gets to 100%, is that expected ? |
No, completion should be emitted as soon as the position reaches 100%. Check it out in demo https://j2only.github.io/vue-slide-unlock. |
I've noticed that the Maybe change to the following if (computedPosition >= sliderWidth.value - props.height) {
complete();
passVerify();
} |
@JoaoMario109 Thank you for your pull request. I added changes to version 0.5.5. |
Programatically we want to simulate the slide-unlock event from a physical joystick, right now it's not possible to access the percentage from our part, only internally using a mouse or a touchscreen.
The text was updated successfully, but these errors were encountered: