Tyxml_js.Register
Register.html head body
uses the given head and body elements as document. It replaces the previous body and head.
head
and body
can be reactive.
Register.body elements
add elements
as children of body
. If keep
is false (default is true), the children of the body are removed before adding the new elements.
Register.head elements
add elements
as children of body
. If keep
is false (default is true), the children of the head are removed before adding the new elements.
Register.id "some_id" elements
add elements
as children of the node with the id "some_id"
. If keep
is false (default is true), the children of the node are removed before adding the new elements.
Beware, this function ignores tyxml's type information.