Module Tyxml_js

module Tyxml_js : sig..end

Tyxml interface. Example of use for HTML:

module T = Tyxml_js.Html
     let html = T.(
       div ~a:[a_class ["several"; "css"; "class"]; a_id "id-of-div"] [
         ul ~a:[a_class ["one-css-class"]; a_id "id-of-ul"] [
           li [
             a ~a:[a_id "id-of-a"; a_href "/url/file.html"] [
               pcdata "Go to /url/file.html"
             ]
           ]
         ]
       ]
     )

See also


module type XML = 
  Xml_sigs.T
   with type uri = string
   and type event_handler = Dom_html.event Js.t -> bool
   and type mouse_event_handler = Dom_html.mouseEvent Js.t -> bool
   and type keyboard_event_handler = Dom_html.keyboardEvent Js.t -> bool
   and type elt = Dom.node Js.t
module Xml : XMLwith module W = Xml_wrap.NoWrap
module Wrap : 
  Xml_wrap.T
with type 'a t = 'a React.signal
and type 'a tlist = 'a ReactiveData.RList.t
and type ('a, 'b) ft = 'a -> 'b
module Util : sig..end
module Svg : 
  Svg_sigs.Make(Xml).T
with module Xml.W = Xml_wrap.NoWrap
module Html : 
  Html_sigs.Make(Xml)(Svg).T
with module Xml.W = Xml_wrap.NoWrap
module Html5 : 
  Html_sigs.Make(Xml)(Svg).T
with module Xml.W = Xml_wrap.NoWrap
and type 'a elt = 'a Html.elt
and type +'a attrib = 'a Html.attrib

module Register : sig..end
module R : sig..end
module To_dom : Tyxml_cast_sigs.TOwith type 'a elt = 'a Html.elt
module Of_dom : Tyxml_cast_sigs.OFwith type 'a elt = 'a Html.elt