Library
core
src
util
term
classes
Progressbar

Lawtext core references


Lawtext core references / core/src/util/term / ProgressBar

Class: ProgressBar

Defined in: core/src/util/term.ts:120 (opens in a new tab)

Constructors

new ProgressBar()

new ProgressBar(): ProgressBar

Defined in: core/src/util/term.ts:122 (opens in a new tab)

Returns

ProgressBar

Properties

bar

bar: Bar

Defined in: core/src/util/term.ts:121 (opens in a new tab)

Methods

progress()

progress(ratio?, message?): void

Defined in: core/src/util/term.ts:129 (opens in a new tab)

Parameters

ratio?

number

message?

string

Returns

void


start()

start(total, startValue): void

Defined in: core/src/util/term.ts:137 (opens in a new tab)

Parameters

total

number

startValue

number

Returns

void


stop()

stop(): void

Defined in: core/src/util/term.ts:140 (opens in a new tab)

Returns

void