You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only callback the slider has is on-update. If I want to start longer computation or make a web request after the slider has been updated, the high frequency of updates when dragging the mouse causes problems. I would like to get a different callback when the drag action as ended (mouse or touch). It should also fire, if the value was changed by keyboard.
Or is there a default callback for such elements, that I don't know about, and that would solve this problem?
Expected API (期望的 API)
The callback "finished" should be called on mouse up, dragend, touchend or similar events.
The text was updated successfully, but these errors were encountered:
This function solves the problem (这个功能解决的问题)
The only callback the slider has is on-update. If I want to start longer computation or make a web request after the slider has been updated, the high frequency of updates when dragging the mouse causes problems. I would like to get a different callback when the drag action as ended (mouse or touch). It should also fire, if the value was changed by keyboard.
Or is there a default callback for such elements, that I don't know about, and that would solve this problem?
Expected API (期望的 API)
The callback "finished" should be called on mouse up, dragend, touchend or similar events.
The text was updated successfully, but these errors were encountered: