Creates and has methods to update a Terminal DOM that contains cells in a grid pattern.
Span elements that hold characters.
Code / Monospace, should be the direct child of the pre tag.
The main DOM wrapper for all DOM elements. Nothing from the terminal should be outside of this element.
Span that contains the final display text of the terminal.
Height of instance.
ID number for this instance of the TerminalDOM.
Preformatted Text, should be the direct child of the container.
Width of instance.
Keeps track of number of ids that have been created.
Clears text and children from inside display span.
Initializes cells as empty span elements with line breaks.
Will set single cell innerHTML to a string based on cell index.
Will set single cell innerHTML to a string based on cell column and row.
Adds HTML classes to DOM elements in TerminalDOM.
Set the color via css of a cell.
Uses idNumber property to set HTML id traits for each of the DOM elements.
Creates an empty container div and appends it to the body.
Get an incremented id number for new TerminalDOM.
Generated using TypeDoc