Copy Attribute
Copy an attribute here
Parameters (Blade)
| Key | Default value | Type | Available values | Description |
|---|---|---|---|---|
|
data-js-copy-target
|
string | - | The element you want to trigger the copy functionality | |
|
data-js-copy-item
|
string | - | The element to copy it from | |
|
data-js-copy-data
|
string | - | The content to copy | |
|
data-js-copy-success
|
string | - | Success feedback to the user | |
|
data-js-copy-error
|
string | - | Error feedback to the user | |
|
id
|
string | - | The DOM id of the component. | |
|
classList
|
[] | array | - | Array containing wrapping classes array |
|
attributeList
|
[] | array | - | Array containing keys and values rendered as attributes |