I'm not satisfied enough with the API to publish it. This is mainly because I haven't yet done anything serious with it. :)
On Mon, May 16, 2016 at 11:05 AM, Tobias Hermann <[email protected]> wrote: > Wow, this looks extremely useful. I think this would make a great package > and should not stay hidden in some github gist. *wink* > > > On Monday, May 16, 2016 at 9:46:50 AM UTC+2, Peter Damoc wrote: >> >> you can easily use Html for layout and create your own little layout >> language with functions. >> >> For example, you can use this playground for visually thinking about the >> layout: >> >> https://demos.scotch.io/visual-guide-to-css3-flexbox-flexbox-playground/demos/ >> and a little helper module like this one: >> https://gist.github.com/pdamoc/c07eee6b7ab761853d59d8db01d89b71 >> >> to allow you to express your layout like >> >> greyCenterStretch = >> div [ design <| justifyCenter <| alignItemsStretch <| [("background", >> "grey")] ] >> >> bottomDiv = div [design <| alignSelfEnd []] >> >> view model = >> greyCenterStretch >> [ bottomDiv >> [ ... ] >> , ... >> ] >> >> >> >> >> >> On Mon, May 16, 2016 at 10:29 AM, Tobias Hermann <[email protected]> >> wrote: >> >>> Ok, thank you. >>> I liked to align input boxes etc. with the functions from >>> Graphics.Element, because it isolated me from all the HTML/div/CSS thinking. >>> But of course I understand. Also thanks for the remark about >>> Graphics.Input. I was already wondering where it went. ;-) >>> >>> >>> On Sunday, May 15, 2016 at 11:32:53 PM UTC+2, Janis Voigtländer wrote: >>>> >>>> No, this conversion is not conceptually possible anymore. Html can have >>>> event listeners attached, but post-0.16 Elements are weaker than 0.16 >>>> Elements in that they don't support events anymore (hence also no >>>> Graphics.Input module anymore). Thus, the conversion from Html to Element >>>> had to go. >>>> >>>> (Conceptually, it should still be possible to convert values of type >>>> Html Never to Element, but it's not implemented.) >>>> >>>> Am Sonntag, 15. Mai 2016 schrieb Tobias Hermann : >>>> >>>>> Hi, >>>>> >>>>> I used to utilize Html.toElement to embed divs in flow down lists >>>>> etc. from Graphics.Element. >>>>> Html.toElement is gone with the version update. Is there still >>>>> something available for this conversion? >>>>> >>>>> Tobias >>>>> >>>>> -- >>>>> 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. >>>>> >>>> -- >>> 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. >>> >> >> >> >> -- >> There is NO FATE, we are the creators. >> blog: http://damoc.ro/ >> > -- > 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. > -- There is NO FATE, we are the creators. blog: http://damoc.ro/ -- 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.
