.TH "Eliom_content.Html5.Manip.Named" 3o 2012-06-11 OCamldoc ""
.SH NAME
Eliom_content.Html5.Manip.Named \- Dom manipulation by element identifier.
.SH Module
Module Eliom_content.Html5.Manip.Named
.SH Documentation
.sp
Module
.BI "Named"
:
.B sig end
.sp
Dom manipulation by element identifier\&.
.sp
.sp
.sp
.sp
.PP
.B === The module Named defines the same functions as
.B Eliom_dom\&. They take as parameter an element identifier
.B instead of an element with Dom semantics\&. Those functions only
.B works if the element is available in the application (sent in
.B the page or along the page)\&. If the element is not available,
.B those functions raise with Not_found\&. ===
.PP
.I val appendChild
:
.B ?before:'a Eliom_content.Html5.elt ->
.B 'b Eliom_content.Html5.Id.id -> 'c Eliom_content.Html5.elt -> unit
.sp
see
.B appendChild
.sp
.sp
.I val appendChilds
:
.B ?before:'a Eliom_content.Html5.elt ->
.B 'b Eliom_content.Html5.Id.id -> 'c Eliom_content.Html5.elt list -> unit
.sp
see
.B appendChilds
.sp
.sp
.I val removeChild
:
.B 'a Eliom_content.Html5.Id.id -> 'b Eliom_content.Html5.elt -> unit
.sp
see
.B removeChild
.sp
.sp
.I val replaceChild
:
.B 'a Eliom_content.Html5.Id.id ->
.B 'b Eliom_content.Html5.elt -> 'c Eliom_content.Html5.elt -> unit
.sp
see
.B replaceChild
.sp
.sp
.I val removeAllChild
:
.B 'a Eliom_content.Html5.Id.id -> unit
.sp
see
.B removeAllChild
.sp
.sp
.I val replaceAllChild
:
.B 'a Eliom_content.Html5.Id.id -> 'b Eliom_content.Html5.elt list -> unit
.sp
see
.B replaceAllChild
.sp
.sp
.I val addEventListener
:
.B ?capture:bool ->
.B 'a Eliom_content.Html5.Id.id ->
.B (#Dom_html.event as 'b) Js.t Dom_html.Event.typ ->
.B ('a Eliom_content.Html5.elt -> 'b Js.t -> bool) -> Dom_html.event_listener_id
.sp
see
.B addEventListener
.sp
.sp