I’m using Tippy to make some HTML tooltips, since the bootstrap ones don’t support exactly what I need when it comes to HTML support.
I’ve got Tippy working, though app connect expressions don’t work in the tooltips. I’m using Tippy’s innerHTML method to get the HTML content.
I’m assuming this is because of the way Tippy hides the div when it isn’t called, but how can I get app connect expressions to work after it’s shown? I’m assuming I need to add something somewhere in the JS file, but I can’t find what I need to add.
I’ve tried dmx.requestUpdate, but that doesn’t seem to do it, even through console.
template.InnerHTML is getting the content within the “template” <div> (where you’d put forms, dropdowns, whatever else you want, etc), so adding dmx.parse there would mean no HTML content.
Unfortunately, this was the problem I had with Tippy that I couldn’t solve. I instead ended up doing a bit of a hack and used bootstrap dropdowns instead which let me do exactly what I wanted, and since I didn’t have to worry about mobile responsiveness, it worked fine for me.
Edit: I see in your example it is working? I can’t remember what I tried exactly since this was a month ago, and I just used the above instead (which also cut down on the amount of libraries used, so it was a win)