This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
A generic list component for the Elm Architecture.
version 1.0.6
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.7
Committed At 2017-02-01 23:13:47 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1

Modules

README

elm-component-list

A generic Elm list component, that, given a component type, creates a list of it.

Example

See it running online.

-- EXAMPLE
-- simple component that prints a hello button
cModel = "Hello"
cUpdate v _ = v
cView cmodel = input [onInput identity, value cmodel] []
main =
  App.beginnerProgram {
    model = init cModel,
    view = view (ViewParams "New hello" "Delete this hello") cView,
    update = update cUpdate
  }