DEV Community

Discussion on: 3 Insanely Simple Steps To DIY Tooltips

Collapse
 
vishnubaliga profile image
Vishnu Baliga

Thank you for pointing that out. As you said, it is always good to use a custom data attribute.

In the DIY examples mentioned above, I wanted to keep it simple and easy to understand. They can always have their own way of defining the attributes.