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 awesome :) -Josh On Tuesday, August 9, 2016 at 5:24:09 AM UTC-5, surfncode wrote: > > Hello, > > I 'm quite impressed by the amount of work done for elm-mdl so I've > started using it instead of bootstrap. The Layout component is a bit > unfamiliar to me. How does it work exactly ? Are you supposed to have only > one for your entire elm app ? > > I'm also wondering about the Mdl.model ( in "part" mode). Is it ok to have > one in each of my components or should you pass it as props to the subviews > ? > > My goal is to display scrollable tabs like on the elm-mdl demo site. At > the moment I have a tabs component that uses Mdl.Tabs. It works but the > display is messed up when there are too many tabs. That's why I need to > wrap them into a layout container (I think). I have nothing against moving > the content of my tabs component into my top level component if it makes > more sense. > > Last question: Is it ok to use layout if my component is not a fullscreen > elm app but rather embedded in a div ? > > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
