-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Is your feature request related to a problem? Please describe...
I am unable to have a button with v-b-tooltip
directive that is exclusively triggered programmatically.
Describe the solution you'd like
A simple way to disable all UI triggers or empty the trigger list after its initialisation.
Describe alternatives you've considered
- Disabling the tooltip by default using
v-b-directive.disabled
, orv-b-tooltip="objRef"
with a property containingdisabled
, could potentially silence all events, but still make me able to hide or show the tooltip with theshow
property. - Passing an empty string currently falls back to the defaults (
click blur
), so passing an empty array through options could signify the explicit wish to keep triggers empty. - A trigger called
none
which prevents falling back to defaults.
Additional context
My use-case is an "Add item to cart"-button that should show "Item added to cart"-tooltip when the click event has propagated to the backend server, then, afterwards, hidden again automatically using delay.hide
.