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 need to find a way to recompute the tooltip title when it is displayed. Currently I'm displaying a timestamp. When the timestamp changes, no problem, everything is updated properly.
Now I want to improve UX by replacing the timestamp with a timeago sentence (e.g. "3 minutes ago") using moment.js
I can do it but the displayed timeago sentence will never change because the underlying data does not.
Is there a way to call the moment.js function when the user hovers the button so I can display the proper, actualized timeago sentence?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I need to find a way to recompute the tooltip title when it is displayed. Currently I'm displaying a timestamp. When the timestamp changes, no problem, everything is updated properly.
Now I want to improve UX by replacing the timestamp with a timeago sentence (e.g. "3 minutes ago") using moment.js
I can do it but the displayed timeago sentence will never change because the underlying data does not.
Is there a way to call the moment.js function when the user hovers the button so I can display the proper, actualized timeago sentence?
Thanks!
The text was updated successfully, but these errors were encountered: