Widget:Icon: Difference between revisions

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

Latest revision as of 04:22, 1 November 2024