The DomNode class / om.DomNode methods |
Creates and adds an node at the end of the list of children in the current node.
The createChild() method creates a new om.DomNode element with the tag name passed as parameter, and adds it at the end of the children of the object node calling the method.
The method returns the reference to the new created object.
DEFINE parent, child om.DomNode ... LET child = parent.createChild("Item")