LoadingDots
feedback
Dot color
Terminal
$termuijs render loading-dots
Installation
$ bunx termuijs add loading-dots
Copies the source into src/components/loading-dots/ and installs @termuijs/core, @termuijs/widgets.
Usage
ts
import { LoadingDots } from '@termuijs/widgets'ts
new LoadingDots(style: Partial<Style> = {}, opts: LoadingDotsOptions = {})API Reference
LoadingDots
| Prop | Type | Required | Description |
|---|---|---|---|
label | string | optional | Label shown before the dots |
maxDots | number | optional | Maximum number of dots in the cycle |
color | Color | optional | Dot color |