Skip to main content

TRenderEngine

reexport
class TRenderEngine {
  buildTTree: (html: string) => TDocument;
  buildTTreeFromDoc: (document: Element | Document) => TDocument;
  getHTMLElementsModels: () => HTMLModelRecord<string, HTMLContentModel>;
  parseDocument: (html: string) => Document;
}

The Transient Render Engine.

Methods#

buildTTree#

required
buildTTree: (html: string) => TDocument;

buildTTreeFromDoc#

required
buildTTreeFromDoc: (document: Element | Document) => TDocument;

getHTMLElementsModels#

required
getHTMLElementsModels: () => HTMLModelRecord<string, HTMLContentModel>;

parseDocument#

required
parseDocument: (html: string) => Document;