I want to conditionally add a tooltip to an element, only if its text is overflowing. I\'ve seen posts like this that show how to determine if text is overflowing, but only