ISnackbarGroupItemAction
interface
Data Shapes
Action button descriptor attached to a snackbar stack item. Rendered as a button inside the toast — clicking it invokes handler and by default dismisses the item.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- labelrequiredstring
- Text label displayed on the action button.
- handlerrequired() => void
- Callback invoked when the action button is clicked.
- intentTIntent
- Semantic intent driving the button color (e.g. "primary", "danger").
- keepOpenboolean
- When true, the snackbar stays visible after the action is clicked (e.g. for multi-step confirmations). Defaults to false.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Notify with an undo action