vue-directive-tooltip
vue-directive-tooltip copied to clipboard
[feature] Delay to show
Feature
To complement delay to hide add a delay to show
feature.
This feature would delay the appearance of a tooltip until the cursor had hovered over a element for a period of time.
This would provide help when a user dwells on an element and avoid popping tooltips when I just move my mouse across the screen.
I needed the same thing: I wanted the popup to show after a 500ms delay, and disappear immediately.
To do so I changed line 268 to have :
if (visible === false) {
delay = 0;
}
This feature would be really great!
@hekigan please give us a delay for show!!!
+1
+1. I want to replace iView - Tooltip with this library, but this lib have not supported this feature that iView already supported and I think the feature is necessary...
like this:
@hekigan
+1 It would be very helpful. @hekigan