Library
core
classes
Core Src Util Term.progressbar

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

Class: ProgressBar

core/src/util/term.ProgressBar

Table of contents

Constructors

Properties

Methods

Constructors

constructor

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

NameType
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

NameType
totalnumber
startValuenumber

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)