package eliom

  1. Overview
  2. Docs
Module type
Class type

Dom manipulation by element identifier.

The module Named defines the same functions as Eliom_dom. They take as parameter an element identifier instead of an element with Dom semantics. Those functions only works if the element is available in the application (sent in the page or along the page). If the element is not available, those functions raise with Not_found.

val appendChild : ?before:'a elt -> 'b -> 'c elt -> unit

see appendChild

val appendChildren : ?before:'a elt -> 'b -> 'c elt list -> unit

see appendChildren

val removeChild : 'a -> 'b elt -> unit

see removeChild

val replaceChild : 'a -> 'b elt -> 'c elt -> unit

see replaceChild

val removeChildren : 'a -> unit

see removeChildren

val replaceChildren : 'a -> 'b elt list -> unit

see replaceChildren