Safe Haskell | None |
---|---|
Language | GHC2021 |
Halogen.Svg.Indexed
Description
| we currently allow in its corresponding SVGelemName
.
Synopsis
- type CoreAttributes (r :: Row Type) = ((((("id" .== Text) .+ ("class" .== Text)) .+ ("style" .== Text)) .+ ("tabIndex" .== Int)) .+ ("lang" .== Text)) .+ r
- type GlobalEventAttributes (r :: Row Type) = (((((((((((((("onClick" .== MouseEvent) .+ ("onDoubleClick" .== MouseEvent)) .+ ("onContextMenu" .== MouseEvent)) .+ ("onKeyDown" .== KeyboardEvent)) .+ ("onKeyPress" .== KeyboardEvent)) .+ ("onKeyUp" .== KeyboardEvent)) .+ ("onMouseDown" .== MouseEvent)) .+ ("onMouseEnter" .== MouseEvent)) .+ ("onMouseLeave" .== MouseEvent)) .+ ("onMouseMove" .== MouseEvent)) .+ ("onMouseOut" .== MouseEvent)) .+ ("onMouseOver" .== MouseEvent)) .+ ("onMouseUp" .== MouseEvent)) .+ ("onWheel" .== WheelEvent)) .+ r
- type GlobalAttributes (r :: Row Type) = CoreAttributes (GlobalEventAttributes r)
- type StrokeAttributes (r :: Row Type) = ((((("stroke" .== Text) .+ ("strokeDashArray" .== Text)) .+ ("strokeDashOffset" .== Double)) .+ ("strokeOpacity" .== Double)) .+ ("strokeWidth" .== Double)) .+ r
- type StokeEndAttributes (r :: Row Type) = ("strokeLineCap" .== Text) .+ r
- type StrokeJoinAttributes (r :: Row Type) = (("strokeLineJoin" .== Text) .+ ("strokeMiterLimit" .== Text)) .+ r
- type FillAttributes (r :: Row Type) = (("fill" .== Text) .+ ("fillOpacity" .== Double)) .+ r
- type MarkerAttributes (r :: Row Type) = ((("markerStart" .== Text) .+ ("markerMid" .== Text)) .+ ("markerEnd" .== Text)) .+ r
- type FontAttributes (r :: Row Type) = ((((((("fontFamily" .== Text) .+ ("fontSize" .== Text)) .+ ("fontSizeAdjust" .== Double)) .+ ("fontStretch" .== Text)) .+ ("fontStyle" .== Text)) .+ ("fontVariant" .== Text)) .+ ("fontWeight" .== Text)) .+ r
- type CanBeMaskedAttributes (r :: Row Type) = ("mask" .== Text) .+ r
- type AllPresentationAttributes (r :: Row Type) = StrokeAttributes (StrokeJoinAttributes (StokeEndAttributes (FillAttributes (FontAttributes (MarkerAttributes (CanBeMaskedAttributes r))))))
- type SVGsvg = GlobalAttributes (AllPresentationAttributes (((("width" .== Double) .+ ("height" .== Double)) .+ ("viewBox" .== Text)) .+ ("preserveAspectRatio" .== Text)))
- type SVGg = GlobalAttributes (AllPresentationAttributes ("transform" .== Text))
- type SVGforeignObject = GlobalAttributes (AllPresentationAttributes (((("x" .== Double) .+ ("y" .== Double)) .+ ("height" .== Double)) .+ ("width" .== Double)))
- type SVGmarker = GlobalAttributes (AllPresentationAttributes ((((((("markerWidth" .== Double) .+ ("markerHeight" .== Double)) .+ ("strokeWidth" .== Double)) .+ ("refX" .== Double)) .+ ("refY" .== Double)) .+ ("orient" .== Text)) .+ ("markerUnits" .== Text)))
- type SVGcircle = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (FillAttributes (MarkerAttributes (((("cx" .== Double) .+ ("cy" .== Double)) .+ ("r" .== Double)) .+ ("transform" .== Text))))))
- type SVGellipse = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (FillAttributes (MarkerAttributes ((((("cx" .== Double) .+ ("cy" .== Double)) .+ ("rx" .== Double)) .+ ("ry" .== Double)) .+ ("transform" .== Text))))))
- type SVGline = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (MarkerAttributes ((((("x1" .== Double) .+ ("y1" .== Double)) .+ ("x2" .== Double)) .+ ("y2" .== Double)) .+ ("transform" .== Text))))))
- type SVGpolyline = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (MarkerAttributes (("points" .== Text) .+ ("pathLength" .== Double))))))
- type SVGpolygon = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (MarkerAttributes (("points" .== Text) .+ ("pathLength" .== Double))))))
- type SVGpath = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (StrokeJoinAttributes (FillAttributes (MarkerAttributes (("d" .== Text) .+ ("transform" .== Text))))))))
- type SVGpattern = GlobalAttributes ((((((((((("height" .== Double) .+ ("href" .== Text)) .+ ("patternContentUnits" .== Text)) .+ ("patternTransform" .== Text)) .+ ("patternUnits" .== Text)) .+ ("preserveAspectRatio" .== Text)) .+ ("viewBox" .== Text)) .+ ("width" .== Double)) .+ ("x" .== Double)) .+ ("xlinkHref" .== Text)) .+ ("y" .== Double))
- type SVGrect = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StrokeJoinAttributes (FillAttributes (MarkerAttributes ((((((("x" .== Double) .+ ("y" .== Double)) .+ ("rx" .== Double)) .+ ("ry" .== Double)) .+ ("width" .== Double)) .+ ("height" .== Double)) .+ ("transform" .== Text)))))))
- type SVGtext = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (StrokeJoinAttributes (FillAttributes (FontAttributes ((((("x" .== Double) .+ ("y" .== Double)) .+ ("textAnchor" .== Text)) .+ ("dominantBaseline" .== Text)) .+ ("transform" .== Text))))))))
- type SVGmask = GlobalAttributes (AllPresentationAttributes ((((((("transform" .== Text) .+ ("x" .== Double)) .+ ("y" .== Double)) .+ ("width" .== Double)) .+ ("height" .== Double)) .+ ("maskUnits" .== Text)) .+ ("maskContentsUnits" .== Text)))
- type AnimationAttributes (r :: Row Type) = GlobalAttributes ((((((("from" .== Text) .+ ("to" .== Text)) .+ ("begin" .== Text)) .+ ("dur" .== Text)) .+ ("repeatCount" .== Text)) .+ ("fill" .== Text)) .+ r)
- type SVGanimate = AnimationAttributes ("attributeName" .== Text)
- type SVGanimateMotion = AnimationAttributes ("path" .== Text)
- type SVGimage = GlobalAttributes (((((("x" .== Double) .+ ("y" .== Double)) .+ ("width" .== Double)) .+ ("height" .== Double)) .+ ("href" .== Text)) .+ ("preserveAspectRatio" .== Text))
- type SVGmpath = "xlinkHref" .== Text
- type SVGtitle = GlobalAttributes (Empty :: Row Type)
- type SVGuse = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (StrokeJoinAttributes (FillAttributes (FontAttributes (((((("x" .== Double) .+ ("y" .== Double)) .+ ("width" .== Double)) .+ ("height" .== Double)) .+ ("transform" .== Text)) .+ ("href" .== Text))))))))
Documentation
type CoreAttributes (r :: Row Type) = ((((("id" .== Text) .+ ("class" .== Text)) .+ ("style" .== Text)) .+ ("tabIndex" .== Int)) .+ ("lang" .== Text)) .+ r Source #
type GlobalEventAttributes (r :: Row Type) = (((((((((((((("onClick" .== MouseEvent) .+ ("onDoubleClick" .== MouseEvent)) .+ ("onContextMenu" .== MouseEvent)) .+ ("onKeyDown" .== KeyboardEvent)) .+ ("onKeyPress" .== KeyboardEvent)) .+ ("onKeyUp" .== KeyboardEvent)) .+ ("onMouseDown" .== MouseEvent)) .+ ("onMouseEnter" .== MouseEvent)) .+ ("onMouseLeave" .== MouseEvent)) .+ ("onMouseMove" .== MouseEvent)) .+ ("onMouseOut" .== MouseEvent)) .+ ("onMouseOver" .== MouseEvent)) .+ ("onMouseUp" .== MouseEvent)) .+ ("onWheel" .== WheelEvent)) .+ r Source #
type GlobalAttributes (r :: Row Type) = CoreAttributes (GlobalEventAttributes r) Source #
type StrokeAttributes (r :: Row Type) = ((((("stroke" .== Text) .+ ("strokeDashArray" .== Text)) .+ ("strokeDashOffset" .== Double)) .+ ("strokeOpacity" .== Double)) .+ ("strokeWidth" .== Double)) .+ r Source #
type StrokeJoinAttributes (r :: Row Type) = (("strokeLineJoin" .== Text) .+ ("strokeMiterLimit" .== Text)) .+ r Source #
type FillAttributes (r :: Row Type) = (("fill" .== Text) .+ ("fillOpacity" .== Double)) .+ r Source #
type MarkerAttributes (r :: Row Type) = ((("markerStart" .== Text) .+ ("markerMid" .== Text)) .+ ("markerEnd" .== Text)) .+ r Source #
type FontAttributes (r :: Row Type) = ((((((("fontFamily" .== Text) .+ ("fontSize" .== Text)) .+ ("fontSizeAdjust" .== Double)) .+ ("fontStretch" .== Text)) .+ ("fontStyle" .== Text)) .+ ("fontVariant" .== Text)) .+ ("fontWeight" .== Text)) .+ r Source #
type AllPresentationAttributes (r :: Row Type) = StrokeAttributes (StrokeJoinAttributes (StokeEndAttributes (FillAttributes (FontAttributes (MarkerAttributes (CanBeMaskedAttributes r)))))) Source #
type SVGsvg = GlobalAttributes (AllPresentationAttributes (((("width" .== Double) .+ ("height" .== Double)) .+ ("viewBox" .== Text)) .+ ("preserveAspectRatio" .== Text))) Source #
type SVGg = GlobalAttributes (AllPresentationAttributes ("transform" .== Text)) Source #
type SVGforeignObject = GlobalAttributes (AllPresentationAttributes (((("x" .== Double) .+ ("y" .== Double)) .+ ("height" .== Double)) .+ ("width" .== Double))) Source #
type SVGmarker = GlobalAttributes (AllPresentationAttributes ((((((("markerWidth" .== Double) .+ ("markerHeight" .== Double)) .+ ("strokeWidth" .== Double)) .+ ("refX" .== Double)) .+ ("refY" .== Double)) .+ ("orient" .== Text)) .+ ("markerUnits" .== Text))) Source #
type SVGcircle = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (FillAttributes (MarkerAttributes (((("cx" .== Double) .+ ("cy" .== Double)) .+ ("r" .== Double)) .+ ("transform" .== Text)))))) Source #
type SVGellipse = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (FillAttributes (MarkerAttributes ((((("cx" .== Double) .+ ("cy" .== Double)) .+ ("rx" .== Double)) .+ ("ry" .== Double)) .+ ("transform" .== Text)))))) Source #
type SVGline = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (MarkerAttributes ((((("x1" .== Double) .+ ("y1" .== Double)) .+ ("x2" .== Double)) .+ ("y2" .== Double)) .+ ("transform" .== Text)))))) Source #
type SVGpolyline = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (MarkerAttributes (("points" .== Text) .+ ("pathLength" .== Double)))))) Source #
type SVGpolygon = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (MarkerAttributes (("points" .== Text) .+ ("pathLength" .== Double)))))) Source #
type SVGpath = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (StrokeJoinAttributes (FillAttributes (MarkerAttributes (("d" .== Text) .+ ("transform" .== Text)))))))) Source #
type SVGpattern = GlobalAttributes ((((((((((("height" .== Double) .+ ("href" .== Text)) .+ ("patternContentUnits" .== Text)) .+ ("patternTransform" .== Text)) .+ ("patternUnits" .== Text)) .+ ("preserveAspectRatio" .== Text)) .+ ("viewBox" .== Text)) .+ ("width" .== Double)) .+ ("x" .== Double)) .+ ("xlinkHref" .== Text)) .+ ("y" .== Double)) Source #
type SVGrect = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StrokeJoinAttributes (FillAttributes (MarkerAttributes ((((((("x" .== Double) .+ ("y" .== Double)) .+ ("rx" .== Double)) .+ ("ry" .== Double)) .+ ("width" .== Double)) .+ ("height" .== Double)) .+ ("transform" .== Text))))))) Source #
type SVGtext = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (StrokeJoinAttributes (FillAttributes (FontAttributes ((((("x" .== Double) .+ ("y" .== Double)) .+ ("textAnchor" .== Text)) .+ ("dominantBaseline" .== Text)) .+ ("transform" .== Text)))))))) Source #
type SVGmask = GlobalAttributes (AllPresentationAttributes ((((((("transform" .== Text) .+ ("x" .== Double)) .+ ("y" .== Double)) .+ ("width" .== Double)) .+ ("height" .== Double)) .+ ("maskUnits" .== Text)) .+ ("maskContentsUnits" .== Text))) Source #
type AnimationAttributes (r :: Row Type) = GlobalAttributes ((((((("from" .== Text) .+ ("to" .== Text)) .+ ("begin" .== Text)) .+ ("dur" .== Text)) .+ ("repeatCount" .== Text)) .+ ("fill" .== Text)) .+ r) Source #
Unlike fill
in GlobalAttributes
, fill
in AnimationAttributes
is
intended to record a FillState
via fillAnim
.
type SVGanimate = AnimationAttributes ("attributeName" .== Text) Source #
type SVGanimateMotion = AnimationAttributes ("path" .== Text) Source #
type SVGimage = GlobalAttributes (((((("x" .== Double) .+ ("y" .== Double)) .+ ("width" .== Double)) .+ ("height" .== Double)) .+ ("href" .== Text)) .+ ("preserveAspectRatio" .== Text)) Source #
type SVGuse = GlobalAttributes (CanBeMaskedAttributes (StrokeAttributes (StokeEndAttributes (StrokeJoinAttributes (FillAttributes (FontAttributes (((((("x" .== Double) .+ ("y" .== Double)) .+ ("width" .== Double)) .+ ("height" .== Double)) .+ ("transform" .== Text)) .+ ("href" .== Text)))))))) Source #