rohni / svg

Fast SVG in Elm

Home Page:http://package.elm-lang.org/packages/elm-lang/svg/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SVG in Elm

Use SVG in Elm.

This library is built on elm-lang/virtual-dom which handles the dirty details of rendering things quickly.

The best way to learn how to use this library is to read guide.elm-lang.org, particularly the section on The Elm Architecture. Using SVG is just like using HTML, you just have different tags.

Note: This library aims to be the most basic API. In some cases it is possible to use union types to build nicer abstractions, but this starts bringing personal taste into things and has some additional maintainance cost if the underlying spec changes. I think it is best to build such abstractions on top of this library as a separate package.

About

Fast SVG in Elm

http://package.elm-lang.org/packages/elm-lang/svg/latest

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elm 100.0%