Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Simple copy-to-clipboard button.
Install the package
yarn add clopy
// or
npm install clopy --save
Import the clopy element:
import Vue from 'vue';
import { Clopy } from 'clopy';
Vue.component('clopy', Clopy);
// Alternatively
import Clopy from 'clopy';
Vue.use(Clopy);
Add the element to the HTLM
<clopy input=".some-input">
input
parameter is pointed to the input element you wish to copy from.clopy
icon/button and copy the content of the input!The input which is to be copied could be any element with either a value
attribute or a innerText
, if both, value
precedes the innerText
.
By default the clopy button has the clopy-button
class, it can be changed by setting another class via the exposed classes
attribute, which will then ignore the default class.
If the default icon does not suit you, just set the use-icon
attribute to false
(boolean, so bind it with :use-icon
) and it will be ignored.
Font-awesome (default icon).
Bootstrap (default button class, slightly modified).
MIT
FAQs
Vue component for a copy-to-clipboard button.
The npm package clopy receives a total of 0 weekly downloads. As such, clopy popularity was classified as not popular.
We found that clopy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.