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