Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "clopy", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -35,11 +35,12 @@ # Clopy! | ||
Make sure that the `input` parameter is pointed to the input element you wish to copy from. | ||
Click the `clopy` icon/button and copy the content of the input! | ||
1. Make sure that the `input` parameter is pointed to the input element you wish to copy from. | ||
2. Click the `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`. | ||
### Customizing | ||
By default the clopy button has the `clopy-button` class, it can be changed by setting another class to it with the standard `class` attribute, which will then ignore the default class. | ||
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. | ||
## Credits | ||
@@ -46,0 +47,0 @@ |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
6442
52
1