package virtual_dom
OCaml bindings for the virtual-dom library
Install
Dune Dependency
Authors
Maintainers
Sources
virtual_dom-v0.14.0.tar.gz
sha256=6964ee633d70badc0cc51763f8e2d211c37e5c5388de73ec98aa2d0915d74d6b
md5=fdfe48cea9cb5df272f2462672e0de72
doc/virtual_dom.svg/Virtual_dom_svg/Attr/index.html
Module Virtual_dom_svg.Attr
Source
Source
type path_op =
| Move_to_abs of {
}
| Move_to_rel of {
}
| Line_to_abs of {
}
| Line_to_rel of {
}
| Arc_to_abs of {
}
| Arc_to_rel of {
}
| Cubic_abs of {
}
| Cubic_rel of {
}
| Cubic_smooth_abs of {
}
| Cubic_smooth_rel of {
}
| Quadratic_abs of {
}
| Quadratic_rel of {
}
| Quadratic_smooth_abs of {
}
| Quadratic_smooth_rel of {
}
| Close_path
Source
val viewbox :
min_x:float ->
min_y:float ->
width:float ->
height:float ->
Virtual_dom.Vdom.Attr.t
<a>
many things
<circle>
nothing for <defs>
<ellipse>
shares cx and cy with circle
nothing for <g>
<image>
Source
val preserve_aspect_ratio :
align:align_options ->
?meet_or_slice:[ `Meet | `Slice ] ->
unit ->
Virtual_dom.Vdom.Attr.t
<line>
<linearGradient>
shares href with <a>, x1, x2, y1, y2 with <line>
<marker>
viewBox is shared with <svg>, preserveAspecteRatio is shared with <image>
<mask>
shares width, height, x, and y with <image>
<path>
<polygon>
<polyline>
shares points with <polygon>
<radialGradient>
shares spreadMethod with <linearGradient> shares cx, cy, r with <circle>
Nothing to do for <rect> because shares x, y, rx and ry width, height with <image>
<stop>
nothing to do for <style>
Nothing to do for <symbol> as refX and refY is shared with <marker>, viewBox is shared with <svg>, x, y, width, and height are shared with <image>,
<text>
x and y is shared with <image>
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page