diff --git a/src/lib/components/form/Button.svelte b/src/lib/components/form/Button.svelte index 2c338e4..b47f1b6 100644 --- a/src/lib/components/form/Button.svelte +++ b/src/lib/components/form/Button.svelte @@ -21,6 +21,9 @@ /** Make the button act as a link. */ href?: string; + /** Open the link inside a new tab. */ + newtab?: boolean; + /** Add a width class to the button. */ width?: string; @@ -54,6 +57,7 @@ color = undefined, submit = false, href = undefined, + newtab = false, width = "w-auto", activate = false, activate_href = false, @@ -70,6 +74,8 @@ {#if href}