8.2.3 • Published 9 months ago
@exmg/exmg-copy-to-clipboard v8.2.3
<exmg-copy-to-clipboard>

@exmg/exmg-copy-to-clipboard
Helper element to create icon/buttons that lets the user copy content to the clipboard. Just wrap it around the button or icon and set the value that needs to be copied.
Installation
npm install @exmg/exmg-copy-to-clipboard
Example Usage
Standard
<exmg-copy-to-clipboard value="mark@test.com">
<paper-icon-button icon="content-copy"></paper-icon-button>
</exmg-copy-to-clipboard>
API
Slots
Name | Description |
---|---|
default | Button to handle copy to clipboard |
Properties/Attributes
Name | Type | Default | Description |
---|---|---|---|
value | string | None | The value that gets copied and displayed |
Methods
Name | Description |
---|---|
toggle | Toggles the opened state of the component |
show | Sets the opened state of the component to true |
hide | Sets the opened state of the component to false |
Events
None
CSS Custom Properties
None
Additional references
8.2.3
9 months ago
8.2.2
9 months ago
8.2.1
9 months ago
8.2.0
9 months ago
9.0.4
1 year ago
9.0.3
1 year ago
9.0.1
1 year ago
8.1.35
2 years ago
8.1.34
2 years ago
8.1.31
2 years ago
8.1.33
2 years ago
8.1.32
2 years ago
8.1.23
3 years ago
8.1.17
4 years ago
8.0.1
4 years ago
8.0.0
4 years ago
6.1.2
4 years ago
6.1.1
5 years ago
6.1.0
6 years ago
6.0.2
6 years ago
6.0.1
6 years ago
6.0.0
6 years ago
5.0.0
6 years ago
4.1.0
6 years ago
4.0.0
6 years ago
3.0.2
7 years ago
3.0.1
7 years ago