> It only works when it is the top-most
> element in your app.
>
That makes sense :)
I've been playing around with 7.4/5 all week and it's a delightful
experience!
What so nice is that it's effortless to mix and match elm-mdl components
with elm-html elements.
--
You received this message
It only works when it is the top-most
element in your app.
It seems a lot of people have trouble getting started with Layout. Could
someone open an issue saying that the demo should have a more explicit code
sample?
PS. Remember subscriptions and init—if your
layout doesn't resize right, that's
Yes, that video it's excellent - I didn't understand how layout worked
until I watched it either.
On a side-note: Is layout just applicable to the entire viewport window?
I tried using it inside an MDL grid cell and it seemed to get confused
about how wide things should be.
--
You received thi
Thanks,
I'm watching it right now. Helpful indeed !
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to elm-discuss+unsubscr...@googlegroups.com.
For more options, v
I can recommend Josh's video :)
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.g
Hey! I just posted a video showing elm-mdl and covering Layout
specifically!
https://medium.com/@dailydrip/introduction-to-using-material-design-in-elm-dc2320087410#.c2e784xt3
More elm-mdl content coming this week on http://dailydrip.com/topics/elm.
So far my take is: elm-mdl is freaking aw
Thanks for your answer. It does make sense yes. I'm gonna study the source
code of the mdl demo for further details. I haven't tried the layout yet.
Only the tabs. I'll see how it goes.
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubsc
I use different layouts in my app, depending on what page is selected.
Something like this:
let
layoutContent =
if ((indexToView app.viewSelected) == Overview) then
layoutOverview
else
layoutDefault
in
Layout.render Mdl
app.mdl
(layoutProperties app