Kaya 0.5.2 reference for HTMLDocument::appendInlineElement

List of functions and data types in HTMLDocument

ElementTree appendInlineElement(ElementTree block, InlineElement inline, String initialtext)

Arguments

Usage

Adds a new inline element containing some text to the end of a block.

p = addParagraph(parent,"This is ");
em = appendInlineElement(p,Emphasis,"important");
// <p>This is <em>important</em></p>

Related

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