peterszerzo/elm-natural-ui/1.0.1

NOTE: this package is not compatible with Elm 0.19.1

NaturalUi.ListEditor

List editor component

type alias State =
{ editing :
Maybe
{ index : Int
, cursor : Int
}
, suggestions : List String
}

State

type alias Data =
List String

Data

getConfig : List (Setting State Data msg) -> Config msg

Get configuration from a list of settings

init : List String -> State

Init

view : Config msg -> Html msg

View

styles : List Snippet

Styles