From a335ed71e39e11bd3d8889fa095318cd055b339a Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 10:22:51 +0000 Subject: [PATCH 01/12] Update README.md --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1635a1c..4a8b39f 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,10 @@ ## Vue Clipboard -### Demo - -https://codesandbox.io/s/epic-waterfall-17yet5?file=/src/App.vue +### Supporters +> Check them out 👀 -### SUPPORTERS - -[![Blitz.so](https://user-images.githubusercontent.com/1577802/208237027-3bdd8eb8-083a-4d04-b1b3-4565cf3ae69f.png)](https://blitz.so/yev_vlasenko) +[![Blitz.so](https://user-images.githubusercontent.com/1577802/208237027-3bdd8eb8-083a-4d04-b1b3-4565cf3ae69f.png)](https://blitz.so/yev_vlasenko | width=100) [![Shareback.com](https://user-images.githubusercontent.com/1577802/208237028-48f77d56-b242-4bfe-a083-984e124fdc5f.png)](https://shareback.com) @@ -98,6 +95,12 @@ Clipboard.copy(value) } ``` + +### Demo + +https://codesandbox.io/s/epic-waterfall-17yet5?file=/src/App.vue + + ### Compatibility

From 489fdcf954e7b6499bd74bb62a7f8b37dd21c124 Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 10:23:12 +0000 Subject: [PATCH 02/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a8b39f..e08a1d3 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ### Supporters > Check them out 👀 -[![Blitz.so](https://user-images.githubusercontent.com/1577802/208237027-3bdd8eb8-083a-4d04-b1b3-4565cf3ae69f.png)](https://blitz.so/yev_vlasenko | width=100) +[![Blitz.so](https://user-images.githubusercontent.com/1577802/208237027-3bdd8eb8-083a-4d04-b1b3-4565cf3ae69f.png | width=100)](https://blitz.so/yev_vlasenko) [![Shareback.com](https://user-images.githubusercontent.com/1577802/208237028-48f77d56-b242-4bfe-a083-984e124fdc5f.png)](https://shareback.com) From ca5cd41ea1ba38043f91f66b9aadcd5683f9d916 Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 10:23:26 +0000 Subject: [PATCH 03/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e08a1d3..60283e4 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ### Supporters > Check them out 👀 -[![Blitz.so](https://user-images.githubusercontent.com/1577802/208237027-3bdd8eb8-083a-4d04-b1b3-4565cf3ae69f.png | width=100)](https://blitz.so/yev_vlasenko) +[![Blitz.so](https://user-images.githubusercontent.com/1577802/208237027-3bdd8eb8-083a-4d04-b1b3-4565cf3ae69f.png)](https://blitz.so/yev_vlasenko) [![Shareback.com](https://user-images.githubusercontent.com/1577802/208237028-48f77d56-b242-4bfe-a083-984e124fdc5f.png)](https://shareback.com) From 54463cc9c71b0ea84873dda1624add94f87cb984 Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 10:26:07 +0000 Subject: [PATCH 04/12] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 60283e4..6a8e51f 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,13 @@ ## Vue Clipboard ### Supporters -> Check them out 👀 -[![Blitz.so](https://user-images.githubusercontent.com/1577802/208237027-3bdd8eb8-083a-4d04-b1b3-4565cf3ae69f.png)](https://blitz.so/yev_vlasenko) -[![Shareback.com](https://user-images.githubusercontent.com/1577802/208237028-48f77d56-b242-4bfe-a083-984e124fdc5f.png)](https://shareback.com) +[![Blitz.so](https://user-images.githubusercontent.com/1577802/208237314-b5921a5a-4b90-4689-8c0d-4948f98b6ba1.png](https://blitz.so/yev_vlasenko) + +[![Shareback.com](https://user-images.githubusercontent.com/1577802/208237315-4039fb0e-dd59-42e6-829c-bd6fdae7a673.png)](https://shareback.com) + +Check them out. ### Install From 0295de2ddc6f2318efe45237f9e77977d5a766ff Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 10:26:39 +0000 Subject: [PATCH 05/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a8e51f..a7f27e8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ### Supporters -[![Blitz.so](https://user-images.githubusercontent.com/1577802/208237314-b5921a5a-4b90-4689-8c0d-4948f98b6ba1.png](https://blitz.so/yev_vlasenko) +[![Blitz.so](https://user-images.githubusercontent.com/1577802/208237314-b5921a5a-4b90-4689-8c0d-4948f98b6ba1.png)](https://blitz.so/yev_vlasenko) [![Shareback.com](https://user-images.githubusercontent.com/1577802/208237315-4039fb0e-dd59-42e6-829c-bd6fdae7a673.png)](https://shareback.com) From 3aea2e71f7c84b123b6f95d70d7e7469177881fe Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 10:29:32 +0000 Subject: [PATCH 06/12] Update README.md --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a7f27e8..438f91d 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,14 @@ ### Supporters - -[![Blitz.so](https://user-images.githubusercontent.com/1577802/208237314-b5921a5a-4b90-4689-8c0d-4948f98b6ba1.png)](https://blitz.so/yev_vlasenko) - -[![Shareback.com](https://user-images.githubusercontent.com/1577802/208237315-4039fb0e-dd59-42e6-829c-bd6fdae7a673.png)](https://shareback.com) +

+ + + + + + +

Check them out. From d19aaa6a48440531e89d14bc60b936e549cb5df4 Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 10:31:08 +0000 Subject: [PATCH 07/12] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 438f91d..c5cf649 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,10 @@ ### Supporters

- + - +

From dcdce732b4a3a252100709ad389c23423fe69168 Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 10:32:27 +0000 Subject: [PATCH 08/12] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5cf649..ec44dea 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,10 @@ ### Supporters

- + - +

From ef18c0b5742245a04a3b3a6a508ec7ff28c8bc27 Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 10:32:39 +0000 Subject: [PATCH 09/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec44dea..feb0f73 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ### Supporters

- + From bfece7ce6b5862692c17c067c6b8dbf6dc7f40c9 Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 10:35:51 +0000 Subject: [PATCH 10/12] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index feb0f73..0472e29 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ import Clipboard from 'v-clipboard' Vue.use(Clipboard) ``` -### Using +### Usage When an element that contains `v-clipboard` directive is clicked, the value of `value` will be copied into clipboard. @@ -72,7 +72,7 @@ Without plugin: ```js import { Clipboard } from 'v-clipboard' -Clipboard.copy(value) +await Clipboard.copy(value) ``` ### Events @@ -101,6 +101,10 @@ Clipboard.copy(value) } ``` +### How it works + +`copy / $clipboard` is an `async` call. Firstly, library makes an attempt to update clibpoard using `exectCommand`, if that operation is unsuccessful it makes an attemnt to use Navigator Clipboard API and automatically requests access, waits for access to be granted, then writes to clipboard. + ### Demo From 4f87bcbdeeeb71e62abb01d345f182695890edaa Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 10:36:14 +0000 Subject: [PATCH 11/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0472e29..b2ad7f2 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ await Clipboard.copy(value) ### How it works -`copy / $clipboard` is an `async` call. Firstly, library makes an attempt to update clibpoard using `exectCommand`, if that operation is unsuccessful it makes an attemnt to use Navigator Clipboard API and automatically requests access, waits for access to be granted, then writes to clipboard. +`copy / $clipboard` is an `async` call. Firstly, library makes an attempt to update clibpoard using `execCommand`, if that operation is unsuccessful it makes an attemnt to use Navigator Clipboard API and automatically requests access, waits for access to be granted, then writes to clipboard. ### Demo From 7e025e5d03f708c25c5fde08942348cb2fd5dcc1 Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sat, 17 Dec 2022 16:12:56 +0000 Subject: [PATCH 12/12] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index b2ad7f2..3196346 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ [![npm](https://img.shields.io/npm/v/v-clipboard)](https://img.shields.io/npm/v/v-clipboard) [![npm](https://img.shields.io/npm/dy/v-clipboard)](https://img.shields.io/npm/dy/v-clipboard) -## Vue Clipboard ### Supporters