mirror of
https://github.com/correl/elm-mdl.git
synced 2024-12-18 03:00:11 +00:00
Misc
This commit is contained in:
parent
0e04834580
commit
7e58d4f472
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ The library has a tiny native component (for measuring geometry of rendered
|
|||
Initial page load of the demo will produce a flicker, which can only be
|
||||
avoided if you set up the MDL css to load before elm does. Use the file
|
||||
`page.html` as a template. To build the demo in this mode, comment out
|
||||
[line 153 in `examples/Demo.elm`](https://github.com/debois/elm-mdl/blob/master/examples/Demo.elm#L153)
|
||||
[line 154 in `examples/Demo.elm`](https://github.com/debois/elm-mdl/blob/master/examples/Demo.elm#L154)
|
||||
and build the demo like this:
|
||||
|
||||
> elm-make examples/Demo.elm --output elm.js
|
||||
|
|
|
@ -149,7 +149,7 @@ view addr model =
|
|||
}
|
||||
{- The following line is not needed when you manually set up
|
||||
your html, as done with page.html. Removing it will then
|
||||
fix the flicker you see on load.
|
||||
fix the flicker you see on load.
|
||||
-}
|
||||
|> Material.topWithColors Material.Teal Material.Red
|
||||
|
||||
|
|
Loading…
Reference in a new issue