package alba

  1. Overview
  2. Docs
module Attributes : sig ... end
type 'msg t = {
  1. node : node Js_of_ocaml.Js.t;
  2. data : 'msg t0;
}
and 'msg t0 =
  1. | Text of string
  2. | Node of string * 'msg Attributes.t Stdlib.ref * 'msg t list Stdlib.ref
val node : 'msg t -> node Js_of_ocaml.Js.t
val data : 'msg t -> 'msg0 t0
val make_text : string -> node Js_of_ocaml.Js.t -> 'msg t
val fill_node : string -> node Js_of_ocaml.Js.t -> 'msg Attributes.t -> 'msg0 t list -> 'msg1 t
val update : 'msg Vdom.t -> 'msg0 t -> ('msg1 Vdom.t -> 'msg1 t) -> ('msg2 Decoder.t -> handler) -> 'msg3 t option