Main.elm 677 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. module $Foldername exposing (..)
  2. import Html exposing (..)
  3. import Html.Events exposing (..)
  4. import Html.Attributes exposing (id, class)
  5. type alias Model =
  6. {
  7. }
  8. initModel : Model
  9. initModel =
  10. {
  11. }
  12. type Msg
  13. = NoOp
  14. view : Model -> Html Msg
  15. view model =
  16. div
  17. []
  18. [ text "$foldername" ]
  19. update : Msg -> Model -> (Model, Cmd Msg)
  20. update msg model =
  21. ( model, Cmd.none )
  22. --subscriptions : Model -> Sub Msg
  23. --subscriptions model =
  24. -- Sub.batch
  25. -- [
  26. -- ]
  27. main =
  28. Html.program
  29. { init = (initModel, Cmd.none)
  30. , view = view
  31. , update = update
  32. , subscriptions = \_ -> Sub.none
  33. }