Protected ReadonlyloggerProtected ReadonlymessageReadonlyonEmitted with the written text after writeText updated the clipboard.
Such writes dispatch no DOM copy event, so this is the only way to observe them.
Protected ReadonlyonProtectedgetProtectedqueryReturns the clipboard text, or an empty string if it cannot be read.
Writes the given text to the clipboard.
Access to the system clipboard. Reading may require a user permission prompt in browsers.