Joxmar Joxmar - 1 year ago 570
CSS Question

Add HTML markup to materialize.css tooltip

Is there a way to add HTML markup to the tooltip in materialize? I'm trying to arrange some data as definition list inside a tooltip. I tried to add it directly into the data-tooltip attribute but it doesn't seem to recognize the tags.

Answer Source

In materialize.js, around line 1258 make the following change to covert all tooltips to html.

// Change .text()
// To .html()
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download