How to use the clipboard-polyfill.write function in clipboard-polyfill

To help you get started, we’ve selected a few clipboard-polyfill examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github d2-projects / d2-admin / src / views / demo / plugins / clipboard-polyfill / index.vue View on Github external
copyHtml () {
      var dt = new clipboard.DT()
      dt.setData('text/html', this.html)
      clipboard.write(dt)
    },
    readText () {
github d2-projects / d2-admin / src / pages / demo / plugins / clipboard-polyfill / index.vue View on Github external
copyHtml () {
      var dt = new clipboard.DT()
      dt.setData('text/html', this.html)
      clipboard.write(dt)
    },
    readText () {

clipboard-polyfill

A polyfill for the asynchronous clipboard API

MIT
Latest version published 29 days ago

Package Health Score

76 / 100
Full package analysis