MMOframework
Why AI Playground Libraries Developers Agency
FR EN
Build a project live
Index

mmo-hub-copy

1 symbol · generated 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>
Extends
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.

Attributes1

Methods2

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()
returnsPromise<void>