Skip to content

lovasoa/elm-component-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  }

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages