Widget:Icon: Difference between revisions

From Ara: History Untold Wiki
Undo revision 3176 by Z0eff (talk)
Tag: Undo
No edit summary
Line 3: Line 3:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<style>
<button id="myButton">My button</button>


</style>
    <script src="https://unpkg.com/@popperjs/core@2"></script>
 
    <script src="https://unpkg.com/tippy.js@6"></script>
<a id="<!--{$id|escape:'html'}-->" href="https://www.google.com">
    <script>
  <!--{$test|escape:'html'}-->
      // With the above scripts loaded, you can call `tippy()` with a CSS
</a>
      // selector and a `content` prop:
 
      tippy('#myButton', {
<script type="text/javascript">
        content: 'My tooltip!',
 
      });
tippy('#<!--{$id|escape:'html'}-->', {
    </script>
  content: "<!--{$tooltip|escape:'html'}-->",
});
 
</script>
</includeonly>
</includeonly>

Revision as of 05:58, 30 October 2024