peterszerzo/elm-natural-ui/5.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
}
, inputFieldsExpanded : Int
}

State

type alias Data =
List String

Data

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

Get configuration from a list of settings

init : State

Init

view : Config msg -> Html msg

View