Module
Module Eliom_content.Html5.Manip.NamedDocumentation
Module
Named
:
sig end
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 Eliom_content.Html5.elt -> 'b Eliom_content.Html5.Id.id -> 'c Eliom_content.Html5.elt -> unit
see appendChild
val appendChilds : ?before:'a Eliom_content.Html5.elt -> 'b Eliom_content.Html5.Id.id -> 'c Eliom_content.Html5.elt list -> unit
see appendChilds
val removeChild : 'a Eliom_content.Html5.Id.id -> 'b Eliom_content.Html5.elt -> unit
see removeChild
val replaceChild : 'a Eliom_content.Html5.Id.id -> 'b Eliom_content.Html5.elt -> 'c Eliom_content.Html5.elt -> unit
see replaceChild
val removeAllChild : 'a Eliom_content.Html5.Id.id -> unit
see removeAllChild
val replaceAllChild : 'a Eliom_content.Html5.Id.id -> 'b Eliom_content.Html5.elt list -> unit
see replaceAllChild
val addEventListener : ?capture:bool -> 'a Eliom_content.Html5.Id.id -> (#Dom_html.event as 'b) Js.t Dom_html.Event.typ -> ('a Eliom_content.Html5.elt -> 'b Js.t -> bool) -> Dom_html.event_listener_id
see addEventListener