Skip to content

copyText

复制文本到剪贴板(兼容移动端和PC)

示例

ts
import { copyText } from '@base-web-kits/base-tools-web';

await copyText('hello world');

版本

  • 1.0.0 新增