ThemeInput.svelte

view source

Declarations
#

ThemeInput
#

ThemeInput.svelte view source

accepts children

import ThemeInput from '@fuzdev/fuz_ui/ThemeInput.svelte';

onselect?

type EventHandler<Event, HTMLMenuElement> & ((theme: Theme) => void)
optional

selected_theme?

type { theme: Theme; }
optional default get_theme_state()

themes?

type Theme[]
optional default default_themes

enable_editing?

type boolean
optional default false

select?

type (theme: Theme) => boolean | void
optional default (theme) => { selected_theme.theme = theme; }

onedit?

type (theme: Theme) => void
optional

intersects

SvelteHTMLElements['menu']

Depends on
#