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

Svelte · Workspace

ActivityToasts

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

Public export

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

Props

NameTypeRequiredDescription
maxnumberNoMaximum number of simultaneous activity toasts to display.
notify(event: ShellActivityEvent) => booleanNoWhich lifecycle events raise a toast. Defaults to lifecycle-only: a newly-created activity ("started") or a status transition (completed / failed / canceled). Progress-only updates keep the same status and carry a `previous` snapshot, so they never toast — otherwise a running job spawns one toast per progress tick.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation