for more information visit the package's GitHub page
Package contains the following modules:
A package to generate HTML placeholders using elm-css, inspired by https://github.com/phuoc-ng/csslayout. Still WIP tho.
Install this package with:
elm install bigardone/elm-css-placeholders
Renders a text block placeholder.
import Placeholders.Block
...
view : Model -> Html Msg
view model =
Html.Styled.section
[]
[ Html.Styled.div
[]
[ Html.Styled.h2
[]
[ Html.Styled.text "Text block" ]
, Placeholders.Block.view Placeholders.Block.default
]
]