mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
Add a parameter to prevent close panel when clicking outside.
This commit is contained in:
parent
c1c8309443
commit
8139a49304
5 changed files with 390 additions and 246 deletions
6
types/UIShell/HeaderAction.svelte.d.ts
vendored
6
types/UIShell/HeaderAction.svelte.d.ts
vendored
|
@ -42,6 +42,12 @@ export interface HeaderActionProps
|
|||
* @default { duration: 200 }
|
||||
*/
|
||||
transition?: false | import("svelte/transition").SlideParams;
|
||||
|
||||
/**
|
||||
* Set to `true` to prevent the panel from closing when clicking outside
|
||||
* @default false
|
||||
*/
|
||||
preventCloseOnClickOutside?: boolean;
|
||||
}
|
||||
|
||||
export default class HeaderAction extends SvelteComponentTyped<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue