package eliom
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Advanced client/server Web and mobile framework
Install
dune-project
Dependency
Authors
Maintainers
Sources
10.3.0.tar.gz
md5=36c211d19776e6362feb57a4913efc11
sha512=9d8d3aadbd2174fe4edeba9e535cfa8ed974db5e406f0a6e2669a71e208f459da7ca8060628f3f19957b7b1911083a373653abf7e5385bb16d2ccee4ba49e80a
doc/eliom.client/Eliommod_dom/index.html
Module Eliommod_domSource
Cross browser dom manipulation functions
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
Source
val select_nodes :
Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t ->
Js_of_ocaml.Dom_html.anchorElement Js_of_ocaml.Dom.nodeList Js_of_ocaml.Js.t
* Js_of_ocaml.Dom_html.formElement Js_of_ocaml.Dom.nodeList Js_of_ocaml.Js.t
* Js_of_ocaml.Dom_html.element Js_of_ocaml.Dom.nodeList Js_of_ocaml.Js.t
* Js_of_ocaml.Dom_html.element Js_of_ocaml.Dom.nodeList Js_of_ocaml.Js.t
* Js_of_ocaml.Dom_html.element Js_of_ocaml.Dom.nodeList Js_of_ocaml.Js.tSource
val select_request_nodes :
Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t ->
Js_of_ocaml.Dom_html.element Js_of_ocaml.Dom.nodeList Js_of_ocaml.Js.tselect_request_nodes root finds the nodes below root in the page annotated to be: * request unique nodes
Source
val ancessor :
Js_of_ocaml.Dom.node Js_of_ocaml.Js.t ->
Js_of_ocaml.Dom.node Js_of_ocaml.Js.t ->
boolancessor n1 n2 is true if n1 is an ancessor of n2
Source
val createEvent :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
Js_of_ocaml.Dom_html.event Js_of_ocaml.Js.tSource
val copy_element :
Js_of_ocaml.Dom.element Js_of_ocaml.Js.t ->
(Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> bool) ->
Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.tcopy_element e creates recursively a fresh html from any xml element avoiding browser bugs
Source
val html_document :
Js_of_ocaml.Dom.element Js_of_ocaml.Dom.document Js_of_ocaml.Js.t ->
(Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> bool) ->
Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.tAssuming 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
Source
val iter_nodeList :
'a Js_of_ocaml.Dom.nodeList Js_of_ocaml.Js.t ->
('a Js_of_ocaml.Js.t -> unit) ->
unitSource
val iter_attrList :
Js_of_ocaml.Dom.attr Js_of_ocaml.Dom.namedNodeMap Js_of_ocaml.Js.t ->
(Js_of_ocaml.Dom.attr Js_of_ocaml.Js.t -> unit) ->
unitWindow scrolling.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>