Angara


Console

Namespace: Angara
Parent Module: Html

Allows to display .NET objects using a dynamic html page.

Functions and values

Function or valueDescription
Save path
Signature: path:string -> unit

Save the console content to a file.

Write height artefact
Signature: height:string -> artefact:obj -> unit

Display the given object on the HTML page in a browser. height determines the CSS height for the HTML element (e.g. "1oo%", "200px").

WriteHtml html
Signature: html:string -> unit

Display the given html code on the HTML page in a browser.

WriteHtmlWithId id html
Signature: id:string -> html:string -> unit

Display the given html code on the HTML page in a browser; if the element with same ID was already displayed, it is updated.

WriteWithId id height artefact
Signature: id:string -> height:string -> artefact:obj -> unit

Display the given object on the HTML page in a browser; if the object with same ID was already displayed, it is updated. height determines the CSS height for the HTML element (e.g. "1oo%", "200px").

Fork me on GitHub