Clipboard

To Save and Retrieve content from clipboard

You'll need to import the javascript file in your website before starting from this .

const { clipboard } = window.WTN
 
clipboard.get({
  callback:function(data){
   console.log(data.value)
  }
 })
 
 
clipboard.set({
 data:'CONTENT TO PUT IN CLIPBOARD'
})
 

Last updated