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
This is an attempt to add a drag_value property to the Slider, such that different callbacks can be applied to the slider being dragged, and the slider being released, as proposed in #107.
Disclaimer: I am not yet familiar with the codebase of this repo, so I just tried to update the new property where the value property was updated.
Todo:
The value is initially undefined, and I'm not sure how to initialize it to the same value as value.
Also implement this for RangeSlider.
update the docstring for updatemode to incorporate the new prop.
Yes, I think this is reasonable. One possible concern is performance - will there be a problem in very large apps with just having this prop exist even if it isn't used? But I think the hoverData prop in dcc.Graph shows that this is OK.
We should update the docstring for updatemode to incorporate the new prop.
Current changes are only of the src, should this also include changes from after running the built?
No, just src should be changed in this PR. Build artifacts will be updated when we make the next release.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
5 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes#107
This is an attempt to add a
drag_valueproperty to the Slider, such that different callbacks can be applied to the slider being dragged, and the slider being released, as proposed in #107.Disclaimer: I am not yet familiar with the codebase of this repo, so I just tried to update the new property where the
valueproperty was updated.Todo:
undefined, and I'm not sure how to initialize it to the same value asvalue.updatemodeto incorporate the new prop.