mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 20:09:35 +00:00
fix(tabs): forward click event to Tab
This commit is contained in:
parent
c2f006e40b
commit
fed83f8bf4
4 changed files with 4 additions and 0 deletions
1
types/Tabs/Tab.d.ts
vendored
1
types/Tabs/Tab.d.ts
vendored
|
@ -45,6 +45,7 @@ export default class Tab {
|
|||
default: {};
|
||||
};
|
||||
|
||||
$on(eventname: "click", cb: (event: WindowEventMap["click"]) => void): () => void;
|
||||
$on(eventname: "mouseover", cb: (event: WindowEventMap["mouseover"]) => void): () => void;
|
||||
$on(eventname: "mouseenter", cb: (event: WindowEventMap["mouseenter"]) => void): () => void;
|
||||
$on(eventname: "mouseleave", cb: (event: WindowEventMap["mouseleave"]) => void): () => void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue