2019-01-31 03:14:09 UNSELECTED

ElmのHTMLテンプレート

Copy Copied! Full
-- Elm html template import Html exposing (..) import Html.Attributes exposing (id, src) dom : String -> Html Msg dom imgsrc = = div [] [ h1 [id "top-heading"] [text "Elm app running!"] , img [src imgsrc] [] ] {- Output: <div> <h1 id="top-heading"> Elm app running </h1> <img src="{imgsrc}"> </div> -}
ElmのHTMLテンプレート
RECOMMEND