package tyxml
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A library for building correct HTML and SVG documents
Install
dune-project
Dependency
Authors
Maintainers
Sources
tyxml-4.6.0.tbz
sha256=bfeb673c6b4e120a4eca4c48448add47dc3f8d02c2b40f63ffdccc4e91c902dd
sha512=69750eeaf467014282087bf9628f3278f3e5f00f4c7400358750d208664cfc3f79a5cba16767d2935e53477d1a6862fe08c5b801b69052ec12e09d1a93a5e9b4
doc/tyxml.functor/Html_f/Make_with_wrapped_functions/Xml/index.html
Module Make_with_wrapped_functions.XmlSource
Underlying XML data-structure
The type variables in elt and attrib are know as phantom types. The implementation, defined here, is actually monomorphic.
In particular, tyxml doesn't impose any overhead over the underlying representation. The tot and toelt functions allows to convert between the typed and the untyped representation without any cost.
Note that some implementation may not be iterable or printable, such as the Dom representation exposed by js_of_ocaml.
module W :
Xml_wrap.T
with type 'a t = 'a Xml.W.t
with type 'a tlist = 'a Xml.W.tlist
with type ('a, 'b) ft = ('a, 'b) Xml.W.fttype 'a wrap = 'a W.ttype 'a list_wrap = 'a W.tlisttype uri = Xml.uritype event_handler = Xml.event_handlertype mouse_event_handler = Xml.mouse_event_handlertype keyboard_event_handler = Xml.keyboard_event_handlertype touch_event_handler = Xml.touch_event_handlertype attrib = Xml.attribval event_handler_attrib : aname -> event_handler -> attribval mouse_event_handler_attrib : aname -> mouse_event_handler -> attribval keyboard_event_handler_attrib : aname -> keyboard_event_handler -> attribval touch_event_handler_attrib : aname -> touch_event_handler -> attribtype elt = Xml.eltval empty : unit -> eltval comment : string -> eltval entity : string -> eltval cdata : string -> eltval cdata_script : string -> eltval cdata_style : string -> elt sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>