Content deleted Content added
Created page with "<noinclude> ==Usage== <pre id="copy-target"><nowiki>{{copy|copy-target}}</nowiki></pre> {{copy|copy-target}} </noinclude> <includeonly> <span data-copy-to-clipboard-target="{{{1|copy-target}}}" data-copy-to-clipboard-content-type="innerHTML" data-copy-to-clipboard-html-entities="true" data-popover-target="popover-click" data-popover-trigger="click" type="button" class="cursor-pointer text-white bg-gray-500 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> |
<noinclude> |
||
==Usage== |
==Usage== |
||
The button will copy the text inside an element with ID. |
|||
<pre id="copy-target"><nowiki>{{copy|copy-target}}</nowiki></pre> |
<pre id="copy-target"><nowiki>{{copy|copy-target}}</nowiki></pre> |
||
{{copy|copy-target}} |
{{copy|copy-target}} |
||
Revision as of 23:28, 10 September 2024
Usage
The button will copy the text inside an element with ID.
{{copy|copy-target}}
copy
Code copied
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Element ID to copy | 1 | no description | String | suggested |
| button text | copy | no description | String | suggested |
| button icon | icon | no description | Unknown | suggested |
| copy text | copy text | The text to be shown in the copy bubble | String | suggested |