Widget:Icon: Difference between revisions

From Ara: History Untold Wiki
No edit summary
No edit summary
Line 3: Line 3:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<button id="myButton">My button</button>
<span id="<!--{$id|escape:'html'}-->"><!--{$content|escape:'html'}--></span>
 
<script src="https://unpkg.com/@popperjs/core@2"></script>
    <script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>
    <script src="https://unpkg.com/tippy.js@6"></script>
<script>
    <script>
  tippy('#<!--{$id|escape:'html'}-->', {
      // With the above scripts loaded, you can call `tippy()` with a CSS
    content: '<!--{$ttip|escape:'html'}-->',
      // selector and a `content` prop:
  });
      tippy('#myButton', {
</script>
        content: 'My tooltip!',
      });
    </script>
</includeonly>
</includeonly>

Revision as of 06:18, 30 October 2024