3 ms·
Custom Elements! Check out this talk about how to do it: https://www.youtube.com/watch?v=tyFe9Pw6TVE https://www.youtube.com/watch?v=tyFe9Pw6TVE For future re
by rtfeldman 8y ago
Custom Elements!
Check out this talk about how to do it: https://www.youtube.com/watch?v=tyFe9Pw6TVE https://www.youtube.com/watch?v=tyFe9Pw6TVE
For future reference, the quickest way to get questions like this answered is in the #beginners channel on Elm Slack:
http://elmlang.herokuapp.com http://elmlang.herokuapp.com
Tons of super helpful people there!
- protomikron 8y agoThank you for the quick response. Just out of interest are the examples working for you? E.g. Leaflet's Hello World is just ridiculously simple and short (if you check out the source): https://leafletjs.com/examples/quick-start/example.html https://leafletjs.com/examples/quick-start/example.html I am searching for something similar in Elm. I'll head over to other channels for more questions, thanks.
- rtfeldman 8y agoI honestly have never used LeafletJS, so I'd be the wrong person to ask - I'm just familiar with the technique to embed things like that in Elm applications. :)
- protomikron 8y agoNo problem. :) I just wondered if you also have problems with my (Elm) example link, i.e. the scroll (zoom) events seem to get missed. However I followed your advice and headed over to the Slack channel.
- lukewestby 8y agoHere's a full example using a custom element https://ellie-app.com/37h3TdyF3w5a1 https://ellie-app.com/37h3TdyF3w5a1