Closed TheBoringBOT closed 4 years ago
@TheBoringBOT ... not sure if you've figured out a way to do what you're needing, but as I'm searching for information, I thought this might be helpful to solve your issue? https://atomiks.github.io/tippyjs/v6/faq/#plugin ... it's using an attribute of the reference (clicked / hovered element). Hope it helps!
@TheBoringBOT ... not sure if you've figured out a way to do what you're needing, but as I'm searching for information, I thought this might be helpful to solve your issue? https://atomiks.github.io/tippyjs/v6/faq/#plugin ... it's using an attribute of the reference (clicked / hovered element). Hope it helps!
I did manage to fix it. But thanks for your input
I have a button with a data-value i must use for the dyanamic template. How can I pass the data from the clicked button to the tippy template. I use the tippy on multiple buttons and the template is dynamic depending on that data-value
<button data-value="id23">