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

feat: Add events 'start' and 'end' #51

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

chme
Copy link
Contributor

@chme chme commented Apr 3, 2022

Hi,

it would be great, if support for the start and end event of the noUISlider could be added.

It would solve an issue I have. The slider is automatically updated every second (showing the playback progress in a music player). If the update happens while the slider handle is being dragged, the slider jumps to the position from the automatic update and interrupts the dragging (reported in this issue).

With the addition of the start and end events, I can solve this by only updating the slider in the background if it is not being dragged.

The `start` event is fired when the handle is clicked, the `end` event
is fired when the handle is released.
@negezor negezor mentioned this pull request Oct 21, 2022
@adamberecz adamberecz merged commit 0dfb68c into vueform:main Dec 20, 2022
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

Successfully merging this pull request may close these issues.

2 participants