package eliom

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Manip.NamedSource

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.

Sourceval appendChild : ?before:'a elt -> 'b Id.id -> 'c elt -> unit

see appendChild

Sourceval appendChildren : ?before:'a elt -> 'b Id.id -> 'c elt list -> unit

see appendChildren

Sourceval removeChild : 'a Id.id -> 'b elt -> unit

see removeChild

Sourceval replaceChild : 'a Id.id -> 'b elt -> 'c elt -> unit

see replaceChild

Sourceval removeChildren : 'a Id.id -> unit

see removeChildren

Sourceval replaceChildren : 'a Id.id -> 'b elt list -> unit

see replaceChildren

see addEventListener

OCaml

Innovation. Community. Security.