--- title: copyToClipboard tags: browser,string,event,advanced --- Copies a string to the clipboard. Only works as a result of user action (i.e. inside a `click` event listener). - Create a new `