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

Add an option to show the tooltip when hovering on the handles #423

Closed
cheap-glitch opened this issue Dec 9, 2019 · 5 comments
Closed
Labels

Comments

@cheap-glitch
Copy link

Describe the feature

It would be nice to have an option to show the tooltip when hovering on the handles.

Describe the solution you'd like

A hover option for the tooltip parameter:

<vue-slider v-model="model" :tooltip="'hover'"></vue-slider>

It would show the tooltip on both hovering and focusing one of the handles.

@NightCatSama
Copy link
Owner

When `tooltip="hover", is it possible to include "focus" function?

Because when dragging, the mouse is not always on the handle.

@NightCatSama
Copy link
Owner

Thanks for your feedback, hover and active parameters are supported in version 3.1.0.

active contains both hover and focus functions, and now the tooltip default parameter is active.

@cheap-glitch
Copy link
Author

Awesome, thank you very much!

@Ali7862
Copy link

Ali7862 commented Jan 27, 2020

@NightCatSama I am using version 3.1.0. but not working for me can you help me?

<vue-slider
v-model="selected_date"
:data="ticksLabels"
:marks="false"
height = "20px"
:tooltip="'hover'"
:adsorb="true"
:silent="true"
:duration="0"
:clickable="true"

is this working on a selected point or interval? can It work for all points on the handler?

@NightCatSama
Copy link
Owner

@Ali7862 Can you reproduce it in the example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants