package virtual_dom
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
OCaml bindings for the virtual-dom library
Install
dune-project
Dependency
Authors
Maintainers
Sources
virtual_dom-v0.15.0.tar.gz
sha256=c32029907c0667369a500091533e2121c050e2392cfae7f07f2289e87c797390
doc/virtual_dom.svg/Virtual_dom_svg/Attr/index.html
Module Virtual_dom_svg.Attr
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
val viewbox :
min_x:float ->
min_y:float ->
width:float ->
height:float ->
Virtual_dom.Vdom.Attr.t<a>
val href : string -> Virtual_dom.Vdom.Attr.tmany things
val transform : transform_op list -> Virtual_dom.Vdom.Attr.t<circle>
val cx : float -> Virtual_dom.Vdom.Attr.tval cy : float -> Virtual_dom.Vdom.Attr.tval r : float -> Virtual_dom.Vdom.Attr.tnothing for <defs>
<ellipse>
shares cx and cy with circle
val rx : float -> Virtual_dom.Vdom.Attr.tval ry : float -> Virtual_dom.Vdom.Attr.tnothing for <g>
<image>
val x : float -> Virtual_dom.Vdom.Attr.tval y : float -> Virtual_dom.Vdom.Attr.tval width : float -> Virtual_dom.Vdom.Attr.tval height : float -> Virtual_dom.Vdom.Attr.tval xlink_href : string -> Virtual_dom.Vdom.Attr.tval preserve_aspect_ratio :
align:align_options ->
?meet_or_slice:[ `Meet | `Slice ] ->
unit ->
Virtual_dom.Vdom.Attr.t<line>
val x1 : float -> Virtual_dom.Vdom.Attr.tval x2 : float -> Virtual_dom.Vdom.Attr.tval y1 : float -> Virtual_dom.Vdom.Attr.tval y2 : float -> Virtual_dom.Vdom.Attr.t<linearGradient>
shares href with <a>, x1, x2, y1, y2 with <line>
val gradient_units : units -> Virtual_dom.Vdom.Attr.tval gradient_transform : transform_op list -> Virtual_dom.Vdom.Attr.t<marker>
viewBox is shared with <svg>, preserveAspecteRatio is shared with <image>
val marker_height : float -> Virtual_dom.Vdom.Attr.tval marker_width : float -> Virtual_dom.Vdom.Attr.tval marker_units : units -> Virtual_dom.Vdom.Attr.tval orient :
[ `Angle of angle | `Auto | `Auto_start_reverse ] ->
Virtual_dom.Vdom.Attr.tval refX : float -> Virtual_dom.Vdom.Attr.tval refY : float -> Virtual_dom.Vdom.Attr.t<mask>
shares width, height, x, and y with <image>
val mask_units : units -> Virtual_dom.Vdom.Attr.tval mask_content_units : units -> Virtual_dom.Vdom.Attr.t<path>
val d : path_op list -> Virtual_dom.Vdom.Attr.t<polygon>
val points : (float * float) list -> Virtual_dom.Vdom.Attr.tval fill : [< `Url of string | Css_gen.Color.t ] -> Virtual_dom.Vdom.Attr.tval stroke : [< Css_gen.Color.t ] -> Virtual_dom.Vdom.Attr.tval stroke_width : float -> Virtual_dom.Vdom.Attr.tval stroke_linecap : [ `Butt | `Round | `Square ] -> Virtual_dom.Vdom.Attr.tval stroke_dasharray : float list -> Virtual_dom.Vdom.Attr.t<polyline>
shares points with <polygon>
<radialGradient>
shares spreadMethod with <linearGradient> shares cx, cy, r with <circle>
val fx : float -> Virtual_dom.Vdom.Attr.tval fy : float -> Virtual_dom.Vdom.Attr.tval fr : float -> Virtual_dom.Vdom.Attr.tval spread_method : [ `Pad | `Reflect | `Repeat ] -> Virtual_dom.Vdom.Attr.tNothing to do for <rect> because shares x, y, rx and ry width, height with <image>
<stop>
val offset : Core.Percent.t -> Virtual_dom.Vdom.Attr.tval stop_color : [< Css_gen.Color.t ] -> Virtual_dom.Vdom.Attr.tval stop_opacity : Core.Percent.t -> Virtual_dom.Vdom.Attr.tnothing 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>
val dx : float -> Virtual_dom.Vdom.Attr.tval dy : float -> Virtual_dom.Vdom.Attr.tmodule Text : sig ... endval (@) :
Virtual_dom.Vdom.Attr.t ->
Virtual_dom.Vdom.Attr.t ->
Virtual_dom.Vdom.Attr.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page