package tyxml-lwd

  1. Overview
  2. Docs
type 'a live = 'a Lwd_seq.t Lwd.t
type 'a attr = 'a option Lwd.t

TyXML compatible representation of XML documents

module Xml : Xml_sigs.T with type 'a W.t = 'a Lwd.t and type (-'a, 'b) W.ft = 'a -> 'b and type 'a W.tlist = 'a Lwd.t list and type uri = string and type elt = raw_node live and type event_handler = (Js_of_ocaml.Dom_html.event Js_of_ocaml.Js.t -> bool) attr and type mouse_event_handler = (Js_of_ocaml.Dom_html.mouseEvent Js_of_ocaml.Js.t -> bool) attr and type keyboard_event_handler = (Js_of_ocaml.Dom_html.keyboardEvent Js_of_ocaml.Js.t -> bool) attr and type touch_event_handler = (Js_of_ocaml.Dom_html.touchEvent Js_of_ocaml.Js.t -> bool) attr

TyXML produced Svg and Html

type +'a node = private raw_node
module Svg : sig ... end
module Html : sig ... end

Running an Lwd-driven DOM in the browser

module Lwdom : sig ... end
OCaml

Innovation. Community. Security.