package tyxml
TyXML is a library for building correct HTML and SVG documents
Install
Dune Dependency
Authors
Maintainers
Sources
tyxml-4.4.0.tbz
sha256=516394dd4a5c31726997c51d66aa31cacb91e3c46d4e16c7699130e204042530
sha512=d5f2187f8410524cec7a14b28e8950837070eb0b6571b015dd06076c2841eb7ccaffa86d5d2307eaf1950ee62f9fb926477dac01c870d9c1a2f525853cb44d0c
doc/tyxml.functor/Html_f/index.html
Module Html_f
Source
Typesafe constructors for HTML documents (Functorial interface)
See <<a_manual chapter="functors"|the manual of the functorial interface>>.
Source
module Make
(Xml : Xml_sigs.T with type ('a, 'b) W.ft = 'a -> 'b)
(Svg : Svg_sigs.T with module Xml := Xml) :
Html_sigs.Make(Xml)(Svg).T
with type +'a elt = Xml.elt
and type +'a attrib = Xml.attrib
Create a new implementation of HTML
, using the given underlying Xml
and Svg
implementation. Will output a module of type Html_sigs.T
with the various type equalities.
Source
module Wrapped_functions
(Xml : Xml_sigs.T with type ('a, 'b) W.ft = 'a -> 'b) :
Html_sigs.Wrapped_functions with module Xml = Xml
The standard set of wrapped functions, when W.ft
is the regular function.
Source
module Make_with_wrapped_functions
(Xml : Xml_sigs.T)
(C : Html_sigs.Wrapped_functions with module Xml = Xml)
(Svg : Svg_sigs.T with module Xml := Xml) :
Html_sigs.Make(Xml)(Svg).T
with type +'a elt = Xml.elt
and type +'a attrib = Xml.attrib
Similar to Make
but with a custom set of wrapped functions.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>