mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
refactor: update/fix JSDoc props
This commit is contained in:
parent
3c04f122b0
commit
d38e6d8be6
204 changed files with 992 additions and 2359 deletions
5
types/ComboBox/ComboBox.d.ts
vendored
5
types/ComboBox/ComboBox.d.ts
vendored
|
@ -119,11 +119,14 @@ export default class ComboBox {
|
|||
|
||||
$$slot_def: {};
|
||||
|
||||
$on(
|
||||
eventname: "select",
|
||||
cb: (event: CustomEvent<{ selectedId: string; selectedIndex: number; selectedItem: ComboBoxItem }>) => void
|
||||
): () => void;
|
||||
$on(eventname: "keydown", cb: (event: WindowEventMap["keydown"]) => void): () => void;
|
||||
$on(eventname: "focus", cb: (event: WindowEventMap["focus"]) => void): () => void;
|
||||
$on(eventname: "blur", cb: (event: WindowEventMap["blur"]) => void): () => void;
|
||||
$on(eventname: "clear", cb: (event: WindowEventMap["clear"]) => void): () => void;
|
||||
$on(eventname: "scroll", cb: (event: WindowEventMap["scroll"]) => void): () => void;
|
||||
$on(eventname: "select", cb: (event: CustomEvent<any>) => void): () => void;
|
||||
$on(eventname: string, cb: (event: Event) => void): () => void;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue