SYNOPSIS

Void addString( ElementTree block, String text )

ARGUMENTS

block The element to add text to

text The text to add

DESCRIPTION

Append text directly to an element.

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

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

HTMLDocument.appendInlineElement (3kaya) is used to add text within a containing element.