跳到主要内容

bn.setClipboardData

setClipboardData(options): void

description Set the contents of the system clipboard

example

await bn.setClipboardData({ data: 'hello world' })

Parameters

NameType
optionsClipboardData

Returns

void


ClipboardData

Ƭ ClipboardData: Object

Type declaration

NameTypeDescription
datastringClipboard content