copy-text
最简单的复制文本工具方法
INSTALL
npm i /@marshal93/copy-text -S
API
import copyText from '@marshal93/copy-text';
copyText(...some...text...);
可以用 import { COPY_SUPPORTED } from '@marshal93/copy-text;
做预先判断是否支持复制功能。
最简单的复制文本工具方法
npm i /@marshal93/copy-text -S
import copyText from '@marshal93/copy-text';
copyText(...some...text...);
可以用 import { COPY_SUPPORTED } from '@marshal93/copy-text;
做预先判断是否支持复制功能。
npm i @marshal93/copy-text
0
1.1.3
MIT
4.81 kB
6