On Tuesday, September 13, 2016 at 9:39:25 AM UTC+1, Rupert Smith wrote: > > I first developed the 'style lab' as static HTML, then converted it to > elm-mdl, using html-to-elm along the way then converting all the various > components to elm-mdl as necessary. >
One thing that I found a little awkward about elm-mdl is the way Dialog can only be contructed from Dialog.Blocks, and there are only the 'title', 'content' and 'actions' constructors available to build such blocks. In my custom styling I had added an mdl-dialog__media style and used it to render an image on the dialog just like with cards. I have no way of making that a Dialog.Block so I just left it out for now. It is handy to have constructors for various bits of the dialog box, but perhaps their type should be Html Msg instead of Block? So that any Html I like can be placed into a dialog. -- 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.
