mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-06 15:17:58 +08:00
Update button title dynamically based on state
This commit is contained in:
parent
32dd7668ea
commit
ee11e5f8cc
@ -250,7 +250,7 @@
|
|||||||
</a>
|
</a>
|
||||||
{#if svgInfo.wordmark !== undefined}
|
{#if svgInfo.wordmark !== undefined}
|
||||||
<button
|
<button
|
||||||
title="Show wordmark SVG"
|
title={wordmarkSvg ? 'Show logo SVG' : 'Show wordmark SVG'}
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
wordmarkSvg = !wordmarkSvg;
|
wordmarkSvg = !wordmarkSvg;
|
||||||
}}
|
}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user