1.5.2 • Published 2 years ago
@forter/copy v1.5.2
fc-copy
An element to copy to clipboard text
Usage
<script>
import '@forter/copy';
</script>
<fc-copy>
<fc-button icon="copy"></fc-button>
</fc-copy>
Examples
<!-- copyText -->
<fc-copy>
Copy Text
</fc-copy>
<!-- IE -->
<fc-copy ie>
<fc-button icon="copy"></fc-button>
</fc-copy>
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
clipboard | clipboard | string | "Copied text" | The text to copy. example: my copied text |
Events
Event | Description |
---|---|
copy | event with the text that was copied, example: {"clipboard": "Copied it"} , method: copy |
Slots
Name | Description |
---|---|
example: <fc-button icon="copy"></fc-button> |
1.5.2
2 years ago
1.5.1
2 years ago
1.5.0
5 years ago
1.4.0
5 years ago
1.3.0
5 years ago
1.2.0
5 years ago
1.1.12
5 years ago
1.1.11
5 years ago
1.1.10
5 years ago
1.1.9
6 years ago
1.1.8
6 years ago
1.1.7
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago