SYNOPSIS

Void appendExisting( ElementTree dest, ElementTree block )

ARGUMENTS

dest The element to add to

block The element to append

DESCRIPTION

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);

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.anonymousBlock (3kaya)

HTMLDocument.appendGenerator (3kaya)

HTMLDocument.prependExisting (3kaya)