smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Svelte · Overview

OverviewAssistantUndo

The inline Undo affordance for an assistant's overview edit (#3727 phase 4). While the last batch can be undone it shows a short message with an Undo button and a dismiss button; the outcome of Undo is announced in the same polite live region. Place it next to the `OverviewGrid` it belongs to.

Public export

typescript
import { OverviewAssistantUndo } from '@happyvertical/smrt-svelte/overview';
Import path
@happyvertical/smrt-svelte/overview
Props
3
Props described
3 of 3
Bindable state
0
Callback events
0
Verified release
0.62.10

Props

NameTypeRequiredDescription
assistantOverviewAssistantYesThe browser assistant from `createOverviewAssistant`.
message(batch: OverviewAssistantBatch) => stringNoMessage for a batch (default: a generic "updated" line).
classstringNoExtra class names for the affordance's row, for host placement.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation