For the complete documentation index, see llms.txt. This page is also available as Markdown.

Clipboard JavaScript API

Save and Retrieve clipboard content using the WebToNative JavaScript API. Enable seamless clipboard access in Android and iOS apps.

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

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

Last updated