Static ReadonlySAID_How long a button says what happened, in milliseconds.
StaticcopyCopies text: the clipboard where the browser has one, the fallback where it has none or refuses.
the document
the navigator
the text
the promise of whether it was copied
StaticcopyCopies a button's text and says on the button what happened, for
SAID_MS; a failure also says, as the button's title, what to do.
the document
the navigator
the page's translator, or null
the button pressed
the text
Optionallater: any
optional; setTimeout, or a stand-in
the promise of whether it was copied
StaticfallbackCopies through a selected, hidden text area and execCommand('copy').
the document
the text
whether the browser said it copied
StaticlabelWhat a button says after a copy, in the page's language.
the page's translator, or null
whether it copied
{ label, hint }: the button's words, and for a failure what
to do instead ('' for a success)
Copying text from a page. A static utility class.