Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConsoleHistory

Hierarchy

  • ConsoleHistory

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Protected index

index: number = -1

Protected values

values: string[] = []

Static limit

limit: number = 50

Accessors

current

  • get current(): undefined | string

next

  • get next(): undefined | string

previous

  • get previous(): undefined | string

Methods

Protected delete

  • delete(value: string): void

push

  • push(value: string): void

restore

store

Protected trim

  • trim(): void