From 417be26c2173df376e1faff2a1d0a41b115e818d Mon Sep 17 00:00:00 2001 From: Corey Date: Fri, 31 Jul 2020 10:06:15 +0800 Subject: [PATCH] Added toast notification for when copied --- src/index.html | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/src/index.html b/src/index.html index c77056e..4772ea4 100644 --- a/src/index.html +++ b/src/index.html @@ -47,7 +47,7 @@ >
+
+ +
+
@@ -132,7 +150,7 @@ `.svg`" x-bind:download="downloadType === 'download-svg' && item.icon_name" class="flex flex-col relative items-center group justify-center text-gray-700 rounded shadow hover:shadow-xl bg-white cursor-pointer transition duration-150 ease-in-out h-48" - @click="handleClick(item, downloadType, $event)" + @click="handleClick(item, downloadType, $event), $dispatch('show:toast'), setTimeout(() => $dispatch('show:toast'), 2000)" >