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
Name | Type | Description |
---|---|---|
data | string | Clipboard content |