Skip to content

@miyue-mma/shared / clipboard

函数: clipboard()

ts
function clipboard(text): Promise<void>

复制文本到剪贴板

参数

text

string

待复制的文本

返回

Promise<void>

Released under the MIT License.