package eliom

  1. Overview
  2. Docs
Advanced client/server Web and mobile framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

11.1.0.tar.gz
md5=a1fe1f37d5163c25818afcc5ca8d6ecf
sha512=4ac91ff05bb43eea5d5e1e046bc54a0c97707db28be3c2f65437fbb1b3457171f715105f7f0621837494c014dc05473f26bc919483b0e47d394a2bbe19b319a7

doc/eliom.client/Eliommod_dom/index.html

Module Eliommod_domSource

Cross browser dom manipulation functions

Sourceclass type 'element get_tag = object ... end
Sourceval get_body : 'element get_tag Js_of_ocaml.Js.t -> 'element Js_of_ocaml.Js.t
Sourceval get_head : 'element get_tag Js_of_ocaml.Js.t -> 'element Js_of_ocaml.Js.t

select_nodes root finds the nodes below root in the page annotated to be: * eliom links * eliom forms * process unique nodes * nodes with closures ( events ) * nodes with attributes

select_request_nodes root finds the nodes below root in the page annotated to be: * request unique nodes

ancessor n1 n2 is true if n1 is an ancessor of n2

copy_element e creates recursively a fresh html from any xml element avoiding browser bugs

Assuming d has a body and head element, html_document d will return the same document as html

preload_css e downloads every css included in every link elements that is a descendant of e and replace it and its linked css by inline <style> elements

Sourceval iter_nodeList : 'a Js_of_ocaml.Dom.nodeList Js_of_ocaml.Js.t -> ('a Js_of_ocaml.Js.t -> unit) -> unit

Window scrolling.

Sourcetype position = {
  1. html_top : int;
  2. html_left : int;
  3. body_top : int;
  4. body_left : int;
}
Sourceval position_of_json : Deriving_Json_lexer.lexbuf -> position
Sourceval position_to_json : Buffer.t -> position -> unit
Sourceval position_json : position Deriving_Json.t
Sourceval top_position : position
Sourceval getDocumentScroll : unit -> position
Sourceval setDocumentScroll : position -> unit
Sourceval test_pageshow_pagehide : unit -> bool
Sourceval onhashchange : (Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> unit) -> unit
OCaml

Innovation. Community. Security.