Projects · Components
TimeEntryList
Props for TimeEntryList componentPublic export
typescript
import { TimeEntryList } from '@happyvertical/smrt-projects/svelte';- Import path
@happyvertical/smrt-projects/svelte- Props
- 8
- Props described
- 8 of 8
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
entriesTimeEntry[]YesTime entries to display in the list.selectablebooleanNoShows checkboxes for selecting entries.selectedIdsstring[]NoIdentifiers of currently selected entries.onselectionchange(ids: string[]) => voidNoInvoked when the selection changes.emptyMessagestringNoMessage shown when the entries list is empty.baseHrefstringNoBase URL to construct entry detail links.currencyCurrencyNoCurrency code for formatting amounts.canSelect(entry: TimeEntry) => booleanNoFilter function to determine which entries can be selectedBindable state
This component has no bindable public state.
Callback events
onselectionchange(ids: string[]) => void