s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Playground · Components

PlaygroundHost

No summary has been written for PlaygroundHost. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

Public export

typescript
import { PlaygroundHost } from '@happyvertical/smrt-playground/svelte';
Import path
@happyvertical/smrt-playground/svelte
Props
6
Props described
6 of 6
Bindable state
0
Callback events
0
Verified release
0.44.0

Props

NameTypeRequiredDescription
modulesSmrtPlaygroundModule[]NoPlayground modules containing entries to display.
titlestringNoMain heading text.
subtitlestringNoSubtitle or description text.
embeddedbooleanNoEnables embedded mode which affects UI presentation.
selectedEntryIdstring | nullNoQualified entry ID controlled by the parent. Clearing a previously controlled selection restores the playground's default selection.
hideEntryListbooleanNoHides the entry list when true.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation