diff --git a/src/lib/components/Toc/TocHeader.svelte b/src/lib/components/Toc/TocHeader.svelte index fb599f4..b247579 100644 --- a/src/lib/components/Toc/TocHeader.svelte +++ b/src/lib/components/Toc/TocHeader.svelte @@ -15,10 +15,16 @@ }; $: currentDisplayed = $tocStore.activeItem ? $tocStore.activeItem.text : placeholder; + + let value: string; + + const close = () => { + value = ''; + };