Skip to content

Add Slider/RangeSlider tooltip.format and tooltip.style. - #2723

Merged
T4rk1n merged 7 commits into
devfrom
slider-tips
Jan 31, 2024
Merged

Add Slider/RangeSlider tooltip.format and tooltip.style.#2723
T4rk1n merged 7 commits into
devfrom
slider-tips

Conversation

@T4rk1n

@T4rk1n T4rk1n commented Jan 10, 2024

Copy link
Copy Markdown
Contributor

Resolve #1846

Add two new props to dcc Slider and RangeSlider:

  • tooltip.format a string for the format template, {value} will be formatted with the actual value.
  • tooltip.style a style object to give to the div of the tooltip.

@T4rk1n
T4rk1n requested a review from alexcjohnson as a code owner January 10, 2024 21:18
Comment thread components/dash-core-components/src/fragments/Slider.react.js Outdated
Comment thread components/dash-core-components/src/components/RangeSlider.react.js Outdated
Comment thread components/dash-core-components/src/components/RangeSlider.react.js Outdated
Comment thread components/dash-core-components/src/components/RangeSlider.react.js Outdated
Comment thread components/dash-core-components/src/components/Slider.react.js Outdated
Comment thread components/dash-core-components/src/components/Slider.react.js Outdated

@alexcjohnson alexcjohnson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃

@T4rk1n
T4rk1n merged commit 49ac14f into dev Jan 31, 2024
@T4rk1n
T4rk1n deleted the slider-tips branch January 31, 2024 13:57
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.

[Feature Request] dcc.RangeSlider tooltip - allow displaying something else than value

3 participants