FPSCounter
display
FPSCounter component
Terminal
$termuijs render f-p-s-counter
Installation
$ bunx termuijs add f-p-s-counter
Copies the source into src/components/f-p-s-counter/ and installs @termuijs/core, @termuijs/widgets.
Usage
ts
import { FPSCounter } from '@termuijs/widgets'ts
new FPSCounter(style: Partial<Style> = {}, opts: FPSCounterOptions = {},)API Reference
FPSCounter
| Prop | Type | Required | Description |
|---|---|---|---|
showAverage | boolean | optional | — |
showMinMax | boolean | optional | — |