добавил виджет range

This commit is contained in:
Dmitry Borisenko
2022-08-16 22:38:43 +02:00
parent 3aa38fb256
commit 1b07812543
4 changed files with 35 additions and 2 deletions

View File

@@ -37,6 +37,7 @@
let opened = false;
let preventMove = false;
let devMode = true;
let showWidjetJson = false;
//****************************************************variable section**********************************************************/
//******************************************************************************************************************************/
@@ -1122,7 +1123,7 @@
<Route path="/">
<DashboardPage show={dashReady} layoutJson={layoutJson} pages={pages} wsPush={(ws, topic, status) => wsPush(ws, topic, status)} />
<!--<button class="btn-lg" on:click={() => createFinalLayout()}>{"Test"}</button>-->
{#if devMode}
{#if showWidjetJson}
<textarea value={JSON.stringify(layoutJson)} class="ipt-big h-40 w-full" />
{/if}
</Route>