expanded cell view

This commit is contained in:
SPRINX0\prochazka
2025-02-07 14:34:56 +01:00
parent 8103c26ca8
commit 93895f3d6f
4 changed files with 17 additions and 5 deletions

View File

@@ -5,6 +5,7 @@
export let selection;
export let showWholeRow = false;
export let expandAll = false;
let json = null;
let error = null;
@@ -31,7 +32,7 @@
{:else}
<div class="outer">
<div class="inner">
<JSONTree value={json} expanded />
<JSONTree value={json} {expandAll} expanded />
</div>
</div>
{/if}

View File

@@ -0,0 +1,6 @@
<script lang="ts">
import JsonCellView from './JsonCellView.svelte';
export let selection;
</script>
<JsonCellView {selection} expandAll />