Library
core
src
util
term
classes
Progressbar

Lawtext core referencesDocs


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

Class: ProgressBar

Constructors

new ProgressBar()

new ProgressBar(): ProgressBar

Returns

ProgressBar

Defined in

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

Properties

bar

bar: Bar

Defined in

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

Methods

progress()

progress(ratio?, message?): void

Parameters

ratio?: number

message?: string

Returns

void

Defined in

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


start()

start(total, startValue): void

Parameters

total: number

startValue: number

Returns

void

Defined in

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


stop()

stop(): void

Returns

void

Defined in

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