From 114643b255ac2827d37789991229b42039be3cd7 Mon Sep 17 00:00:00 2001 From: E44 <129310925+programmer-44@users.noreply.github.com> Date: Mon, 20 Oct 2025 23:33:39 +0200 Subject: [PATCH] add title to Button.svelte --- control/frontend/src/components/Button.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/control/frontend/src/components/Button.svelte b/control/frontend/src/components/Button.svelte index 408046e..2ae2538 100644 --- a/control/frontend/src/components/Button.svelte +++ b/control/frontend/src/components/Button.svelte @@ -10,6 +10,7 @@ hover_bg = get_shifted_color(bg, 100), active_bg = get_shifted_color(bg, 200), disabled = false, + title = '', click_function = (e: MouseEvent) => {}, menu_options = null, children @@ -19,6 +20,7 @@ hover_bg?: string; active_bg?: string; disabled?: boolean; + title?: string; click_function?: (e: MouseEvent) => void; menu_options?: MenuOption[] | null; children?: any; @@ -124,7 +126,7 @@ } -
+