Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Display

The Display class is the primary class responsible for providing spinner visualisations.

Hierarchy

  • Display

Index

Constructors

constructor

Properties

Private config

config: Config

The configuration object passed to this instance.

Protected spinner

spinner: Ora

The Ora spinner instance which is useful for display purposes.

Private started

started: boolean = false

A boolean to indicate if the process has started or not.

Methods

onBeforeRestart

  • onBeforeRestart(): void

onBeforeStart

  • onBeforeStart(): void

onRestart

  • onRestart(): void

onStart

  • onStart(): void

Generated using TypeDoc