You can implement post render hooks using requestAnimationFrame. Elm guarantees that the dom changes corresponding to an update will be rendered after a requestAnimationFrame. Use https://github.com/elm-lang/animation-frame
On Friday, March 25, 2016 at 8:03:39 AM UTC-7, San Gillis wrote: > > Hi, > > I built a simple integration of Highcarts.js in Elm using virtual-dom > hooks. I wrote a blog post about it here: > > http://sgillis.github.io/posts/2016-03-25-highcharts-integration-in-elm.html > > As I understand Evan is working on an improved Native system for future > versions of Elm, but I thought this might be an interesting approach > meanwhile. Has anyone else used this? What do you guys think about this > approach? Are there any plans to expose virtual-dom hooks at some time in > the future? > -- 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.
