Module

Halogen.Svg.Indexed

Package
purescript-halogen-svg-elems
Repository
JordanMartinez/purescript-halogen-svg-elems

Note: an element may contain more attributes than what we currently allow in its corresponding SVGelemName.

#CoreAttributes Source

type CoreAttributes :: Row Type -> Row Typetype CoreAttributes r = (class :: String, id :: String, lang :: String, style :: String, tabIndex :: Int | r)

#GlobalEventAttributes Source

type GlobalEventAttributes :: Row Type -> Row Typetype GlobalEventAttributes r = (onClick :: MouseEvent, onContextMenu :: MouseEvent, onDoubleClick :: MouseEvent, onKeyDown :: KeyboardEvent, onKeyPress :: KeyboardEvent, onKeyUp :: KeyboardEvent, onMouseDown :: MouseEvent, onMouseEnter :: MouseEvent, onMouseLeave :: MouseEvent, onMouseMove :: MouseEvent, onMouseOut :: MouseEvent, onMouseOver :: MouseEvent, onMouseUp :: MouseEvent, onWheel :: WheelEvent | r)

#StrokeAttributes Source

type StrokeAttributes :: Row Type -> Row Typetype StrokeAttributes r = (stroke :: String, strokeDashArray :: String, strokeDashOffset :: Number, strokeOpacity :: Number, strokeWidth :: Number | r)

#StokeEndAttributes Source

type StokeEndAttributes :: Row Type -> Row Typetype StokeEndAttributes r = (strokeLineCap :: String | r)

#StrokeJoinAttributes Source

type StrokeJoinAttributes :: Row Type -> Row Typetype StrokeJoinAttributes r = (strokeLineJoin :: String, strokeMiterLimit :: String | r)

#FillAttributes Source

type FillAttributes :: Row Type -> Row Typetype FillAttributes r = (fill :: String, fillOpacity :: Number | r)

#MarkerAttributes Source

type MarkerAttributes :: Row Type -> Row Typetype MarkerAttributes r = (markerEnd :: String, markerMid :: String, markerStart :: String | r)

#FontAttributes Source

type FontAttributes :: Row Type -> Row Typetype FontAttributes r = (fontFamily :: String, fontSize :: String, fontSizeAdjust :: Number, fontStretch :: String, fontStyle :: String, fontVariant :: String, fontWeight :: String | r)

#CanBeMaskedAttributes Source

#SVGsvg Source

type SVGsvg :: Row Typetype SVGsvg = GlobalAttributes + AllPresentationAttributes + (height :: Number, preserveAspectRatio :: String, viewBox :: String, width :: Number)

#SVGforeignObject Source

#SVGmarker Source

type SVGmarker :: Row Typetype SVGmarker = GlobalAttributes + AllPresentationAttributes + (markerHeight :: Number, markerUnits :: String, markerWidth :: Number, orient :: String, refX :: Number, refY :: Number, strokeWidth :: Number)

#SVGpattern Source

type SVGpattern :: Row Typetype SVGpattern = GlobalAttributes + (height :: Number, href :: String, patternContentUnits :: String, patternTransform :: String, patternUnits :: String, preserveAspectRatio :: String, viewBox :: String, width :: Number, x :: Number, xlinkHref :: String, y :: Number)

#AnimationAttributes Source

type AnimationAttributes :: Row Type -> Row Typetype AnimationAttributes r = GlobalAttributes (begin :: String, dur :: String, fill :: String, from :: String, repeatCount :: String, to :: String | r)

#SVGanimate Source

type SVGanimate :: Row Typetype SVGanimate = AnimationAttributes (attributeName :: String)

#SVGimage Source

type SVGimage :: Row Typetype SVGimage = GlobalAttributes (height :: Number, href :: String, preserveAspectRatio :: String, width :: Number, x :: Number, y :: Number)

#SVGmpath Source

type SVGmpath :: Row Typetype SVGmpath = (xlinkHref :: String)