FilterGroup.svelte

view source

Declarations
#

FilterGroup
#

FilterGroup.svelte view source

import FilterGroup from '@ryanatkn/syntax-highlighter-bench/FilterGroup.svelte';

legend

type string

options

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