1.5.2 • Published 3 months 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
3 months ago
1.5.1
3 months ago
1.5.0
4 years ago
1.4.0
4 years ago
1.3.0
4 years ago
1.2.0
4 years ago
1.1.12
4 years ago
1.1.11
4 years ago
1.1.10
4 years ago
1.1.9
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago