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

Jobs · Components

JobDetail

Detailed view of a single job

Public export

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

Props

NameTypeRequiredDescription
jobJobDataYesJob to display
showResultbooleanNoShow result data
onRetry(job: JobData) => voidNoCallback when retry is clicked
onCancel(job: JobData) => voidNoCallback when cancel is clicked
onDelete(job: JobData) => voidNoCallback when delete is clicked

Bindable state

This component has no bindable public state.

Callback events

  • onRetry(job: JobData) => void
  • onCancel(job: JobData) => void
  • onDelete(job: JobData) => void

Examples and explanation