feat(copy): support legacy copy to clipboard for older browser (#581)

This commit is contained in:
Corentin THOMASSET 2023-08-22 01:00:20 +02:00 committed by GitHub
parent 76b2761d62
commit 6f93cba3da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 47 additions and 53 deletions

View file

@ -34,7 +34,7 @@ const { copy } = useCopy({ source: uuids, text: 'UUIDs copied to the clipboard'
/>
<div flex justify-center gap-3>
<c-button autofocus @click="copy">
<c-button autofocus @click="copy()">
Copy
</c-button>
<c-button @click="refreshUUIDs">