跳到主要内容

bn.getClipboardData

getClipboardData(): Promise<ClipboardData>

description Get the contents of the system clipboard

example

const { data } = await bn.getClipboardData()
console.log(data)

Returns

Promise<ClipboardData>


ClipboardData

Ƭ ClipboardData: Object

Type declaration

NameTypeDescription
datastringClipboard content