Maybe try this <https://groups.google.com/d/msg/elm-discuss/8Q2xwRh6UYc/tGem48QjAQAJ> -- it seemed to help with getting the google maps web component working with children map-markers.
On Friday, December 23, 2016 at 1:48:29 PM UTC-6, Peter Zingg wrote: > > I was emboldened by rtfeldman's YouTube talk on running the google-map web > component in Elm, so I thought I would try with this one: > > https://github.com/handsontable/hot-table > > It's a web component wrapper around Handsontable.js, a library for > building interactive, data bound spreadsheets. Of course the Javascript > (and the web component) do a massive amount of virtual DOM work, which may > make it impossible (or difficult) to work alongside Elm. > > On a first attempt, I did get the hot-table to show my data, but as soon > as I click on the table the application seems to "freeze up". > > A couple of notes: > > 1. The hot-table repository warns up front: "some stuff does not work yet. > Do not use this yet!" so I guess I'm the buyer who's not beware. > > 2. I notice that in the Chrome developer window, when I look at the DOM, I > see this embedded comment: > > <!-- this works with Shadow DOM (not Shady DOM) > For Shady DOM, add this to your light DOM: > <style is="custom-style" include="hot-table-style"></style> > --> > > Maybe I should add the > > <style is="custom-style" include="hot-table-style"></style> > > Somewhere in the Elm index.html? > > Here's the Elm code: > https://gist.github.com/pzingg/b0c5a9e1bd0126d37add980bcb07b496 > > Any thoughts? > -- 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.
