FilterGroup.svelte view source
import FilterGroup from '@ryanatkn/syntax-highlighter-bench/FilterGroup.svelte'; legend
type
stringoptions
Every choice, in display order.
type
readonly { id: string; label: string; }[]selected
The ids of the checked choices.
type
readonly string[]onchange
Called with the checked ids, in the order of options.
type
(selected: string[]) => void