Js_of_ocaml.Dom_svgDOM SVG binding
This is a partial binding to the DOM SVG API.
val xmlns : Js.js_string Js.tTypes
class type svg_error = object ... endexception SVGError of svg_errortype alignmentType = type pathSegmentType = class type 'a animated = object ... endclass type 'a list = object ... endclass type element = object ... endclass type animatedString = Js.js_string Js.t animatedclass type animatedBoolean = bool Js.t animatedclass type stringList = Js.js_string Js.t listclass type animatedEnumeration = int animatedclass type animatedInteger = int animatedclass type animatedNumber = float animatedclass type numberList = Js.number Js.t listclass type animatedNumberList = numberList Js.t animatedclass type length = object ... endclass type animatedLength = length Js.t animatedclass type lengthList = length Js.t listclass type animatedLengthList = lengthList Js.t animatedclass type angle = object ... endclass type animatedAngle = angle Js.t animatedclass type rgbColor = object ... endclass type color = object ... endclass type iccColor = object ... endclass type rect = object ... endclass type animatedRect = rect Js.t animatedclass type stylable = object ... endclass type locatable = object ... endclass type transformable = object ... endclass type tests = object ... endclass type langSpace = object ... endclass type externalResourcesRequired = object ... endclass type fitToViewBox = object ... endclass type zoomAndPan = object ... endclass type viewSpec = object ... endclass type uriReference = object ... endclass type document = object ... endclass type svgElement = object ... endclass type gElement = object ... endclass type defsElement = object ... endclass type descElement = object ... endclass type titleElement = object ... endclass type symbolElement = object ... endclass type useElement = object ... endclass type elementInstance = object ... endclass type elementInstanceList = object ... endclass type imageElement = object ... endclass type switchElement = object ... endclass type styleElement = object ... endclass type point = object ... endclass type matrix = object ... endclass type transform = object ... endclass type transformList = object ... endclass type animatedTransformList = transformList Js.t animatedclass type preserveAspectRatio = object ... endclass type animatedPreserveAspectRatio = preserveAspectRatio Js.t animatedclass type pathSeg = object ... endclass type pathSegClosePath = pathSegclass type pathSegMoveto = object ... endclass type pathSegLineto = object ... endclass type pathSegCurvetoCubic = object ... endclass type pathSegCurvetoQuadratic = object ... endclass type pathSegArc = object ... endclass type pathSegLinetoHorizontal = object ... endclass type pathSegLinetoVertical = object ... endclass type pathSegCurvetoCubicSmooth = object ... endclass type pathSegCurvetoQuadraticSmooth = object ... endclass type pathSegList = pathSeg Js.t listclass type animatedPathData = object ... endclass type pathElement = object ... endclass type rectElement = object ... endclass type circleElement = object ... endclass type ellipseElement = object ... endclass type lineElement = object ... endclass type animatedPoints = object ... endclass type polyLineElement = object ... endclass type polygonElement = object ... endclass type textContentElement = object ... endclass type textPositioningElement = object ... endclass type textElement = object ... endclass type tspanElement = textPositioningElementclass type trefElement = object ... endclass type textPathElementMethod = textPathMethodType animatedclass type textPathElementSpacing = textPathSpacingType animatedclass type textPathElement = object ... endclass type altGlyphElement = object ... endclass type altGlyphDefElement = elementclass type altGlyphItemElement = elementclass type glyphRefElement = object ... endclass type animatedSpreadMethod = spreadMethodType animatedclass type gradientElement = object ... endclass type linearGradientElement = object ... endclass type radialGradientElement = object ... endclass type stopElement = object ... endclass type patternElement = object ... endclass type clipPathElement = object ... endclass type maskElement = object ... endclass type filterElement = object ... endclass type cursorElement = object ... endclass type aElement = object ... endclass type viewElement = object ... endclass type scriptElement = object ... endclass type animationElement = object ... endclass type animateElement = object ... endclass type setElement = animationElementclass type animateMotionElement = animationElementclass type mPathElement = object ... endclass type animateColorElement = object ... endclass type animateTransformElement = animationElementclass type fontElement = object ... endclass type glyphElement = object ... endclass type fontFaceElement = elementclass type fontFaceSrcElement = elementclass type fontFaceUriElement = elementclass type fontFaceFormatElement = elementclass type fontFaceNameElement = elementclass type metadataElement = elementclass type foreignObjectElement = object ... endval createAltGlyph : document Js.t -> altGlyphElement Js.tval createAltGlyphDef : document Js.t -> altGlyphDefElement Js.tval createAltGlyphItem : document Js.t -> altGlyphItemElement Js.tval createAnimate : document Js.t -> animateElement Js.tval createAnimateColor : document Js.t -> animateColorElement Js.tval createAnimateMotion : document Js.t -> animateMotionElement Js.tval createAnimateTransform : document Js.t -> animateTransformElement Js.tval createCircle : document Js.t -> circleElement Js.tval createClipPath : document Js.t -> clipPathElement Js.tval createCursor : document Js.t -> cursorElement Js.tval createDefs : document Js.t -> defsElement Js.tval createDesc : document Js.t -> descElement Js.tval createEllipse : document Js.t -> ellipseElement Js.tval createFilter : document Js.t -> filterElement Js.tval createFont : document Js.t -> fontElement Js.tval createFontFace : document Js.t -> fontElement Js.tval createFontFaceFormat : document Js.t -> fontElement Js.tval createFontFaceName : document Js.t -> fontElement Js.tval createFontFaceSrc : document Js.t -> fontElement Js.tval createFontFaceUri : document Js.t -> fontElement Js.tval createForeignObject : document Js.t -> foreignObjectElement Js.tval createGlyph : document Js.t -> glyphElement Js.tval createGlyphRef : document Js.t -> glyphElement Js.tval createImage : document Js.t -> imageElement Js.tval createLineElement : document Js.t -> lineElement Js.tval createLinearElement : document Js.t -> linearGradientElement Js.tval createMask : document Js.t -> maskElement Js.tval createMetaData : document Js.t -> metadataElement Js.tval createMissingGlyph : document Js.t -> glyphElement Js.tval createMPath : document Js.t -> mPathElement Js.tval createPath : document Js.t -> pathElement Js.tval createPattern : document Js.t -> patternElement Js.tval createPolygon : document Js.t -> polygonElement Js.tval createPolyline : document Js.t -> polyLineElement Js.tval createRadialgradient : document Js.t -> radialGradientElement Js.tval createRect : document Js.t -> rectElement Js.tval createScript : document Js.t -> scriptElement Js.tval createSet : document Js.t -> setElement Js.tval createStop : document Js.t -> stopElement Js.tval createStyle : document Js.t -> styleElement Js.tval createSvg : document Js.t -> svgElement Js.tval createSwitch : document Js.t -> switchElement Js.tval createSymbol : document Js.t -> symbolElement Js.tval createTextElement : document Js.t -> textElement Js.tval createTextpath : document Js.t -> textPathElement Js.tval createTitle : document Js.t -> titleElement Js.tval createTref : document Js.t -> trefElement Js.tval createTspan : document Js.t -> tspanElement Js.tval createUse : document Js.t -> useElement Js.tval createView : document Js.t -> viewElement Js.tgetElementById id returns the element with the id id in the current document. It raises Not_found if there are no such element
module CoerceTo : sig ... end