Render to a string

Hierarchy

Constructors

Properties

_callback: ((string: string) => void)

Type declaration

    • (string: string): void
    • The callback function passed to the constructor. Called on update

      Parameters

      • string: string

      Returns void

_chars: string[][] = []
defaultRenderAs: string = ' '

The renderAs value for the default element

renderInfo: string[] = []

Ordered by ID, the renderAs info for each element.

Methods

  • Parameters

    • id: number
    • newRenderAs: string

      The proposed character to use. Must be 1 char long and unique

    Returns string

Generated using TypeDoc