fabiommendes/elm-svg-editor/1.0.0

NOTE: the latest version is 2.1.0

Svg.Editor

Basic types

type alias Config =
Config

Editor config

type alias Model =
Model

Editor model

type alias Msg =
Msg

Message

Elm Archtecture

defaulConfig : Config

Configuration object

init : Model

Init function in TEA

subscriptions : Config -> Model -> Sub Msg

Subscription function in TEA

update : Config -> Msg -> Model -> ( Model, Cmd Msg )

Update function in TEA

view : Config -> Model -> Html Msg

View function in TEA

cmd : Cmd Msg

Command to properly initialize the editor