Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pinage404/copy-text

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pinage404/copy-text

Element that copy text (or current URL by default) then notify with a `paper-toast`

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

<copy-text>

Pipeline status Published on NPM MIT License

Element that copy text (or current URL by default) then notify with a paper-toast

Install

Install with Yarn

Using Yarn

$ yarn add copy-text

Install with NPM

Simple install
$ npm install copy-text
Manual install

First, make sure you have Bower and Polymer CLI installed

$ npm install copy-text --no-optional

Install with Bower

First, make sure you have Bower and Polymer CLI installed

$ bower install copy-text --save
$ npm run-script analyze # if you need to watch the documentation

Usage

Simplest usage

<copy-text></copy-text>

Full usage

<copy-text
	text="This is not an URL"
	message-on-success="Text copied with success"
	message-on-error="Oops! Something goes wrong while copying"
>
	<button type="button">Click to copy</button>
</copy-text>

License

MIT Licence

Keywords

FAQs

Package last updated on 11 Mar 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc