Web Component: j-Clipboard


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-Clipboard

  • It works as singleton
  • Uses navigator.clipboard.writeText() or document.execCommand('copy') as fallback

Methods:

  • SETTER('clipboard/copy', 'TEXT TO CLIPBOARD') or FIND('clipboard').copy('TEXT TO CLIPBOARD')

Author