This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-11 20:22:19 -05:00
1 parent a25957c88c
commit f46467d359
14 files changed
+329 -200

No files matched your search

@@ -8,8 +8,14 @@
selectedModel: string;
preferAbove?: boolean;
align?: 'start' | 'end';
onchange?: (model: string) => void;
}
let { selectedModel = $bindable(), preferAbove = true, align = 'end' }: Props = $props();
let {
selectedModel = $bindable(),
preferAbove = true,
align = 'end',
onchange
}: Props = $props();
let btnEl: HTMLButtonElement | undefined = $state();
let searchInputEl: HTMLInputElement | undefined = $state();
@@ -33,6 +39,7 @@
check: true,
onclick: () => {
selectedModel = m.id;
onchange?.(m.id);
}
}))
);