TaskList
feedback
TaskList: a vertical list of tasks with status indicators
Terminal
$termuijs render task-list
Installation
$ bunx termuijs add task-list
Copies the source into src/components/task-list/ and installs @termuijs/core, @termuijs/widgets.
Usage
ts
import { TaskList } from '@termuijs/widgets'ts
new TaskList(style: Partial<Style> = {}, options: TaskListOptions = {}, tasks: TaskItem[] = [],)API Reference
TaskList
| Prop | Type | Required | Description |
|---|---|---|---|
pendingText | string | optional | — |
runningText | string | optional | — |
doneText | string | optional | — |
errorText | string | optional | — |
wheelspin | boolean | optional | When true, the running indicator animates with a spinner |