Socket
Socket
Sign inDemoInstall

clipboard-sdk

Package Overview
Dependencies
18
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    clipboard-sdk

复制文本时自动添加版权小尾巴


Version published
Weekly downloads
0
Maintainers
1
Install size
1.09 MB
Created
Weekly downloads
 

Readme

Source

安装

npm install clipboard-sdk

使用

import Clipboard from 'clipboard-sdk';


new Clipboard(select,html,text);

select是选择器。不传默认是body. html复制到富文本时追击的版权信息 text复制到文本区域追加版权信息

Keywords

FAQs

Last updated on 02 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc