@belloai/clipboard
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@belloai/clipboard

clipboard 的复制到剪贴板的常用方法

import { Message } from 'element-ui'
import { copyToClipboard, copyLink } from '@belloai/clipboard'

copyToClipboard('我需要被复制到剪贴板', '复制成功', Message)

copyLink('已经成功复制到当前网址', Message)

/@belloai/clipboard/

    Package Sidebar

    Install

    npm i @belloai/clipboard

    Weekly Downloads

    7

    Version

    0.0.1

    License

    ISC

    Unpacked Size

    15.1 kB

    Total Files

    14

    Last publish

    Collaborators

    • powan
    • elysion72513
    • thomas-ballo
    • ouxiaohui