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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm trying to get tippy a button onClick event fired inside tippy html content.
For some reason I cannot not get this to work.
Here is my tippyJs config
returnTippy = tippy('#showTemperatureLocation',{ content: info, placement: 'bottom', animation: 'shift-toward-extreme', //trigger: 'click', allowHTML: true, interactive: true, delay: [0, 1000], onShown: function() { $("#refreshWeather").off("click").on("click", function(){ alert('Weather is refreshing'); }); } });
Am I doing something wrong or why cannot I not get thar alert shown?
Please advice.
Thanks.
-Toube
Beta Was this translation helpful? Give feedback.
All reactions