mirror of
https://github.com/CoreyGinnivan/system-uicons.git
synced 2024-06-01 21:42:21 +02:00
Update index.html
This commit is contained in:
parent
cc5844fa95
commit
6bf5206ae1
|
@ -245,7 +245,7 @@
|
||||||
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-32 md:h-40"
|
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-32 md:h-40"
|
||||||
@click="handleClick(item, downloadType, $event), $dispatch('show:toast', item.icon_name), setTimeout(() => $dispatch('show:toast', false), 1000)"
|
@click="handleClick(item, downloadType, $event), $dispatch('show:toast', item.icon_name), setTimeout(() => $dispatch('show:toast', false), 1000)"
|
||||||
>
|
>
|
||||||
<div x-data="{ copied: false }">
|
<div>
|
||||||
<div
|
<div
|
||||||
role="alert"
|
role="alert"
|
||||||
x-show="copied === item.icon_name"
|
x-show="copied === item.icon_name"
|
||||||
|
@ -1410,6 +1410,7 @@
|
||||||
search: "",
|
search: "",
|
||||||
downloadType: "copy-svg",
|
downloadType: "copy-svg",
|
||||||
myForData: sourceData,
|
myForData: sourceData,
|
||||||
|
copied: false,
|
||||||
get filteredIcons() {
|
get filteredIcons() {
|
||||||
if (this.search === "") {
|
if (this.search === "") {
|
||||||
return this.myForData;
|
return this.myForData;
|
||||||
|
|
Loading…
Reference in a new issue