Kaya 0.4.4 reference for HTMLDocument::appendExisting

List of functions and data types in HTMLDocument

Void appendExisting(ElementTree dest, ElementTree block)

Arguments

Usage

Append an existing element as the final child of the specified element.

p = addParagraph(parent,"Hello world!");
// is equivalent to
p = addParagraph(anonymousBlock(),"Hello world!");
appendExisting(parent,p);

Related

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