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
I've got this library integrated into my Nuxt JS project. I'd like to create a "peek" function that, when a user long-presses a button then some functionality is triggered. I've created a function called peek and have attached it onto 3 buttons, passing some text through each function.
My buttons aren't initially shown, they're inside a v-if as part of a "FAB" that I've created.
When I open the FAB using the main button, my peek function is running 3 times, when it shouldn't be running at all, and is then running 6 times when I tap on a button that has the function, this should be running once.
I've got this library integrated into my Nuxt JS project. I'd like to create a "peek" function that, when a user long-presses a button then some functionality is triggered. I've created a function called
peek
and have attached it onto 3 buttons, passing some text through each function.My buttons aren't initially shown, they're inside a
v-if
as part of a "FAB" that I've created.When I open the FAB using the main button, my
peek
function is running 3 times, when it shouldn't be running at all, and is then running 6 times when I tap on a button that has the function, this should be running once.What am I missing, my structure for my HTML is:
My function is:
The text was updated successfully, but these errors were encountered: