Source code

CERNY.console.DomElement

The DomElement console prints to an element inside a HTML page.

The user of the DomElement console has to

  • provide an element with id 'console' (can be configured) in the page. The element can be of any type that can hold paragraphs. A div is most common.
  • import the stylesheet css/console.css into the page.

Configuration of the DomElement console should be performed in your cerny.conf.js to avoid problems on upgrading Cerny.js.

Uses

None

Used by

None

Functions

print

Print a message to the DomElement console.

message (string) : the message to print

History

2007-03-31 : Created.

API Documentation for version

1.4

Scripts

1.4

Functions

Functions

print

Support

If you have any question or suggestions regarding Cerny.js, do not hesitate to contact me. Your input is always welcome.