mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(ui-shell): add preventCloseOnClickOutside
to HeaderAction
(#1625)
Closes #1624
This commit is contained in:
parent
9b3f014a0b
commit
ea9b261b60
4 changed files with 36 additions and 9 deletions
6
types/UIShell/HeaderAction.svelte.d.ts
vendored
6
types/UIShell/HeaderAction.svelte.d.ts
vendored
|
@ -43,6 +43,12 @@ export interface HeaderActionProps
|
|||
*/
|
||||
transition?: false | import("svelte/transition").SlideParams;
|
||||
|
||||
/**
|
||||
* Set to `true` to prevent the panel from closing when clicking outside
|
||||
* @default false
|
||||
*/
|
||||
preventCloseOnClickOutside?: boolean;
|
||||
|
||||
[key: `data-${string}`]: any;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue