From 395ecd8f6102a1095429c7c218496154a391ec36 Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Tue, 17 Aug 2021 21:32:23 +0800 Subject: [PATCH] working version --- src/App.svelte | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index 77dcaaa..0465188 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -30,6 +30,10 @@ return json; }; + function SuperDuperFunction() { + wigets = JSON.parse(document.getElementById("text1").value); + } + let wigets = []; wigets = [ @@ -103,13 +107,12 @@