Module Tyxml_js.Register
val html : ?head:Html_types.head Html.elt -> Html_types.body Html.elt -> unitRegister.html head bodyuses the given head and body elements as document. It replaces the previous body and head.headandbodycan be reactive.
val body : ?keep:bool -> [< Html_types.body_content ] Html.elt list -> unitRegister.body elementsaddelementsas children ofbody. Ifkeepis false (default is true), the children of the body are removed before adding the new elements.
val head : ?keep:bool -> [< Html_types.head_content ] Html.elt list -> unitRegister.head elementsaddelementsas children ofbody. Ifkeepis false (default is true), the children of the head are removed before adding the new elements.
val id : ?keep:bool -> string -> 'a Html.elt list -> unitRegister.id "some_id" elementsaddelementsas children of the node with the id"some_id". Ifkeepis false (default is true), the children of the node are removed before adding the new elements.Beware, this function ignores tyxml's type information.