Options
All
  • Public
  • Public/Protected
  • All
Menu

MultiProgressBar

example
const multi = MultiProgressBar.create({
  title: 'download',
});
const bar1 = multi.createBar({
  title: 'progress',
  total: 100,
  clean: true,
});
bar1.start();
const bar2 = multi.startBar({
  title: 'progress',
  total: 100,
  clean: true,
});
bar1.update(10);
bar1.tick(10);
bar2.update(10);
bar2.tick(10);
bar2.forceCompleted();

Hierarchy

  • MultiProgressBar

Implements

Index

Constructors

Private constructor

Properties

Optional headerWidth

headerWidth: undefined | number

Optional headerWidthPercentage

headerWidthPercentage: undefined | number

output

title

title: string

toBarString

toBarString: function

Type declaration

    • (): string
    • Returns string

Methods

createBar

render

  • render(): void

start

  • start(): this

startBar

Static create

Static start

Generated using TypeDoc