MMOframework
Pourquoi l'IA Playground Bibliothèques Développeurs Agence
FR EN
Créer un projet en direct
Index

mmo-hub-copy

1 symbole · générée le 30 Nov 2026

element

mmo-hub-copy

mmo-hub-copy.jhs:1

A command to copy: shown as code, with a button putting it on the clipboard.

<mmo-hub-copy text></mmo-hub-copy>
Étend
CustomShadowElement
<mmo-hub-copy text="php hub.php serve --open"></mmo-hub-copy>

Index

textthe command
init()
copy() asyncPut the command on the clipboard: the clipboard api where the page is a secure context, a selection otherwise.

Attributs1

Méthodes2

copy()

asyncmmo-hub-copy.jhs:23

Put the command on the clipboard: the clipboard api where the page is a secure context, a selection otherwise.

async copy()
retournePromise<void>