cb = () => {
            showBanner("Copied: " + text);
        }
Write text to clipboard.

@param {string} text the text to be written to clipboard.
@name Clipboard.write

@example
Clipboard.write(window.location.href);