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

Messages · Components

MessageToolbar

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

Public export

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

Props

NameTypeRequiredDescription
selectedCountnumberYesNumber of messages currently selected.
totalCountnumberYesTotal number of messages in the list.
onaction(action: BulkAction) => voidNoCalled when user performs a bulk action.
onselectall() => voidNoCalled when user clicks select all.
onclearselection() => voidNoCalled when user clears the selection.
extraActionsSnippetNoSnippet for rendering additional action buttons.

Bindable state

This component has no bindable public state.

Callback events

  • onaction(action: BulkAction) => void
  • onselectall() => void
  • onclearselection() => void

Examples and explanation