Kaya 0.5.2 reference for HTMLDocument::addString

List of functions and data types in HTMLDocument

Void addString(ElementTree block, String text)

Arguments

Usage

Append text directly to an element.

p = addParagraph(p,"This is a ");
addString(p,"paragraph.");
// <p>This is a paragraph.</p>

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya