package alba

  1. Overview
  2. Docs
type 'msg t = {
  1. mutable styles : string Fmlib.Common.String_map.t;
  2. mutable attributes : string Fmlib.Common.String_map.t;
  3. mutable properties : Encoder.t Fmlib.Common.String_map.t;
  4. mutable handlers : handler Fmlib.Common.String_map.t;
}
val make : ('msg Decoder.t -> handler) -> 'msg0 App.Attribute.t list -> 'msg1 t
val set_style : node Js_of_ocaml.Js.t -> string -> string -> unit
val remove_style : node Js_of_ocaml.Js.t -> string -> string -> unit
val set_property : node Js_of_ocaml.Js.t -> string -> Encoder.t -> unit
val remove_property : node Js_of_ocaml.Js.t -> string -> Encoder.t -> unit
val set_attribute : node Js_of_ocaml.Js.t -> string -> string -> unit
val remove_attribute : node Js_of_ocaml.Js.t -> string -> string -> unit
val add_handler : node Js_of_ocaml.Js.t -> string -> handler -> unit
val remove_handler : node Js_of_ocaml.Js.t -> string -> handler -> unit
val update_style : node Js_of_ocaml.Js.t -> string -> string -> string -> unit
val update_property : node Js_of_ocaml.Js.t -> string -> Encoder.t -> Encoder.t -> unit
val update_attribute : node Js_of_ocaml.Js.t -> string -> string -> string -> unit
val update_handler : node Js_of_ocaml.Js.t -> string -> handler -> handler -> unit
val add : 'msg t -> node Js_of_ocaml.Js.t -> unit
val update : 'msg t -> 'msg0 t -> node Js_of_ocaml.Js.t -> unit
OCaml

Innovation. Community. Security.