diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2022-12-05 12:27:41 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-12-05 12:27:41 +0100 |
commit | b1b8b9605d804793f557c92e2d7b1f659d8c99f0 (patch) | |
tree | 3ba82d71490f1e222080b11c8636b6457bf3ab14 /src_frontend/ComponentLib/Button | |
parent | 7beca23767641c8e52d22109069909f6380cb99b (diff) | |
download | Luxcena-Neo-b1b8b9605d804793f557c92e2d7b1f659d8c99f0.tar.gz Luxcena-Neo-b1b8b9605d804793f557c92e2d7b1f659d8c99f0.zip |
Move IDE components into its own store, fix some state issues, change state update method to push instead of pull
Diffstat (limited to 'src_frontend/ComponentLib/Button')
-rw-r--r-- | src_frontend/ComponentLib/Button/EditorActionButton.svelte | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src_frontend/ComponentLib/Button/EditorActionButton.svelte b/src_frontend/ComponentLib/Button/EditorActionButton.svelte index 148720c..2b3c61d 100644 --- a/src_frontend/ComponentLib/Button/EditorActionButton.svelte +++ b/src_frontend/ComponentLib/Button/EditorActionButton.svelte @@ -3,6 +3,7 @@ export let fullWidth = false; export let backgroundColor = "#444242"; export let color = "white"; + export let alt = null; export let loadingPromise = null; $: listen(loadingPromise); @@ -63,6 +64,7 @@ on:click class:fullWidth={fullWidth} class:iconButton={faIcon != false} + alt={alt} style="--bg-color: {backgroundColor}; --color: {color};"> |