Options
All
  • Public
  • Public/Protected
  • All
Menu

Keeps track of Terminal's DOM elements and is used for updating them.

Hierarchy

Index

Constructors

constructor

Properties

code

code: HTMLElement

Code / Monospace, should be the direct child of the pre tag.

container

container: HTMLDivElement

The main DOM wrapper for all DOM elements. Nothing from the terminal should be outside of this element.

display

display: HTMLSpanElement

Span that contains the final display text of the terminal.

idNumber

idNumber: number

ID number for this instance of the TerminalDOM.

pre

pre: HTMLPreElement

Preformatted Text, should be the direct child of the container.

Static idCounter

idCounter: number = 0

Keeps track of number of ids that have been created.

Methods

clear

  • clear(): void

Protected setClasses

  • setClasses(): void

Protected setIDs

  • setIDs(): void

Static defaultContainer

  • defaultContainer(): HTMLDivElement

Static getID

  • getID(): number

Generated using TypeDoc