@isoftdata/svelte-modal
Advanced tools
@@ -60,3 +60,4 @@ <script | ||
| cancelButtonSize?: ComponentProps<typeof Button>['size'] | ||
| cancelButtonText?: any | ||
| cancelButtonText?: string | ||
| cancelButtonTitle?: string | ||
| cancelShown?: boolean | ||
@@ -135,2 +136,3 @@ cancelButton?: HTMLButtonElement | ||
| cancelButtonText = translate('common:close', 'Close'), | ||
| cancelButtonTitle, | ||
| cancelButton = $bindable(), | ||
@@ -452,2 +454,3 @@ cancelShown = true, | ||
| outline={cancelButtonOutline} | ||
| title={cancelButtonTitle} | ||
| disabled={!canClose} | ||
@@ -454,0 +457,0 @@ bind:button={cancelButton} |
@@ -17,3 +17,4 @@ import type { ClassValue } from 'svelte/elements'; | ||
| cancelButtonSize?: ComponentProps<typeof Button>['size']; | ||
| cancelButtonText?: any; | ||
| cancelButtonText?: string; | ||
| cancelButtonTitle?: string; | ||
| cancelShown?: boolean; | ||
@@ -20,0 +21,0 @@ cancelButton?: HTMLButtonElement; |
+1
-1
| { | ||
| "name": "@isoftdata/svelte-modal", | ||
| "version": "2.6.5", | ||
| "version": "2.7.0", | ||
| "exports": { | ||
@@ -5,0 +5,0 @@ ".": { |
+1
-0
@@ -44,2 +44,3 @@ # Svelte Modal | ||
| | cancelButtonText | `string` | The text to display on the cancel button. | `"Close"` | | ||
| | cancelButtonTitle | `string` | The title of the cancel button | `""` | | ||
| | cancelShown | `boolean` | Determines whether the cancel button is shown in the modal (This is the Cancel button at the bottom)footer. | `true` | | ||
@@ -46,0 +47,0 @@ | cancelButton | `HTMLButtonElement` | A reference to the cancel `HTMLButtonElement`. | `undefined` (bindable) | |
29087
0.7%88
1.15%142
0.71%