Module Eliom_content.Html.Manip.Named
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.Html.elt ->
'b Eliom_content.Html.Id.id -> 'c Eliom_content.Html.elt -> unit
see appendChild
val appendChildren :
?before:'a Eliom_content.Html.elt ->
'b Eliom_content.Html.Id.id -> 'c Eliom_content.Html.elt list -> unit
see appendChildren
val removeChild :
'a Eliom_content.Html.Id.id -> 'b Eliom_content.Html.elt -> unit
see removeChild
val replaceChild :
'a Eliom_content.Html.Id.id ->
'b Eliom_content.Html.elt -> 'c Eliom_content.Html.elt -> unit
see replaceChild
val removeChildren : 'a Eliom_content.Html.Id.id -> unit
see removeChildren
val replaceChildren :
'a Eliom_content.Html.Id.id -> 'b Eliom_content.Html.elt list -> unit
see replaceChildren
val addEventListener :
?capture:bool ->
'a Eliom_content.Html.Id.id ->
(#Js_of_ocaml.Dom_html.event as 'b) Js_of_ocaml.Js.t
Js_of_ocaml.Dom_html.Event.typ ->
('a Eliom_content.Html.elt -> 'b Js_of_ocaml.Js.t -> bool) ->
Js_of_ocaml.Dom_html.event_listener_id
see addEventListener