Show title on expand button
This commit is contained in:
parent
2a885ac5ef
commit
3ea589a126
|
@ -183,7 +183,11 @@
|
||||||
<div class='json-node'>
|
<div class='json-node'>
|
||||||
{#if type === 'array'}
|
{#if type === 'array'}
|
||||||
<div class='header'>
|
<div class='header'>
|
||||||
<button class='expand' on:click={toggleExpand}>
|
<button
|
||||||
|
class='expand'
|
||||||
|
on:click={toggleExpand}
|
||||||
|
title='Expand or collapse this array (Ctrl+Click to expand/collapse recursively)'
|
||||||
|
>
|
||||||
{#if expanded}
|
{#if expanded}
|
||||||
<Icon data={faCaretDown} />
|
<Icon data={faCaretDown} />
|
||||||
{:else}
|
{:else}
|
||||||
|
@ -236,7 +240,11 @@
|
||||||
{/if}
|
{/if}
|
||||||
{:else if type === 'object'}
|
{:else if type === 'object'}
|
||||||
<div class='header'>
|
<div class='header'>
|
||||||
<button class='expand' on:click={toggleExpand}>
|
<button
|
||||||
|
class='expand'
|
||||||
|
on:click={toggleExpand}
|
||||||
|
title='Expand or collapse this object (Ctrl+Click to expand/collapse recursively)'
|
||||||
|
>
|
||||||
{#if expanded}
|
{#if expanded}
|
||||||
<Icon data={faCaretDown} />
|
<Icon data={faCaretDown} />
|
||||||
{:else}
|
{:else}
|
||||||
|
|
Loading…
Reference in New Issue