Dear all, I just published a blog post on how to get geometry of rendered elements—in particular calling getBoundingClientRect—by constructing JSON decoders for use with Html.Events.on:
https://medium.com/@debois/elm-the-dom-8c9883190d20#.pbwnl4bgl I needed this for elm-md <https://github.com/debois/elm-mdl>l. If you have a similar need, you might like the post, and you might find the the elm-dom library <https://github.com/debois/elm-dom> useful. The latter provides some ready-made encoders and a substitute for getBoundingClientRect. I'd appreciate any comments. Obviously, the functionality of reading geometry off the DOM, including calling getBoundingClientRect, should be provided by Core. It doesn't seem to be on the roadmap for the immediate future, though, so in the meantime, I thought you might find the above useful. Cheers, Søren -- 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.
