F
Filament4w ago
dyo

Having a tooltip in Stat description()

How can I have a tooltip in Stat description? I've tried with these codes, but it's not showing.. https://codeshare.io/KW9j0P
No description
Solution:
```html ->description(new HtmlString(<<<'HTML' <div x-data="{}" x-tooltip="{ content: 'tooltip content...', theme: $store.theme }"> <span class="cursor-pointer">tooltip</span> </div>...
Jump to solution
2 Replies
Solution
LeandroFerreira
->description(new HtmlString(<<<'HTML'
<div x-data="{}" x-tooltip="{ content: 'tooltip content...', theme: $store.theme }">
<span class="cursor-pointer">tooltip</span>
</div>
HTML))
->description(new HtmlString(<<<'HTML'
<div x-data="{}" x-tooltip="{ content: 'tooltip content...', theme: $store.theme }">
<span class="cursor-pointer">tooltip</span>
</div>
HTML))
dyo
dyoOP4w ago
Thanks.. 👍

Did you find this page helpful?