mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
feat(modal): dispatch transitionend event
This commit is contained in:
parent
ea4420e323
commit
cbea1df97a
6 changed files with 52 additions and 25 deletions
1
types/Modal/Modal.d.ts
vendored
1
types/Modal/Modal.d.ts
vendored
|
@ -120,6 +120,7 @@ export default class Modal {
|
|||
label: {};
|
||||
};
|
||||
|
||||
$on(eventname: "transitionend", cb: (event: CustomEvent<{ open: boolean }>) => void): () => void;
|
||||
$on(eventname: "keydown", cb: (event: WindowEventMap["keydown"]) => void): () => void;
|
||||
$on(eventname: "click", cb: (event: WindowEventMap["click"]) => void): () => void;
|
||||
$on(eventname: "mouseover", cb: (event: WindowEventMap["mouseover"]) => void): () => void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue