Safe Haskell | None |
---|---|
Language | GHC2021 |
Halogen.Svg.Elements
Description
Similar to `Halogen.HTML as HH` but contains SVG elements.
| We recommend importing this module via the SE
module alias:
| ```
| import Halogen.Svg.Elements as SE
| ```
Synopsis
- element :: forall (r :: Row Type) w i. ElemName -> [IProp r i] -> [HTML w i] -> HTML w i
- svg :: Node SVGsvg p i
- g :: Node SVGg p i
- circle :: Leaf SVGcircle p i
- image :: Leaf SVGimage p i
- ellipse :: Leaf SVGellipse p i
- rect :: Leaf SVGrect p i
- path :: Leaf SVGpath p i
- pattern_ :: Node SVGpattern p i
- line :: Leaf SVGline p i
- polyline :: Leaf SVGpolyline p i
- polygon :: Leaf SVGpolygon p i
- text :: Node SVGtext p i
- foreignObject :: Node SVGforeignObject p i
- defs :: Node SVGg p i
- mask :: Node SVGg p i
- marker :: Node SVGmarker p i
- animate :: Leaf SVGanimate p i
- animateMotion :: Node SVGanimateMotion p i
- circleNode :: Node SVGcircle p i
- mpath :: Leaf SVGmpath p i
- title :: Node SVGtitle p i
- use :: Leaf SVGuse p i
Documentation
element :: forall (r :: Row Type) w i. ElemName -> [IProp r i] -> [HTML w i] -> HTML w i Source #
This element
rather than element
must be used
| because all SVG elements created via JavaScript must have the svg namespace:
| `"http://www.w3.org/2000/svg"`
ellipse :: Leaf SVGellipse p i Source #
pattern_ :: Node SVGpattern p i Source #
polyline :: Leaf SVGpolyline p i Source #
polygon :: Leaf SVGpolygon p i Source #
foreignObject :: Node SVGforeignObject p i Source #
animate :: Leaf SVGanimate p i Source #
animateMotion :: Node SVGanimateMotion p i Source #
circleNode :: Node SVGcircle p i Source #