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'
})
import { get, set } from "webtonative/Clipboard"
get({
callback:function(data){
console.log(data.value)
}
})
set({
data:'CONTENT TO PUT IN CLIPBOARD'
})