Have you seen this approach:
https://github.com/rtfeldman/elm-google-maps
?


On Fri, Nov 18, 2016 at 8:25 AM, Tim Bezhashvyly <[email protected]>
wrote:

> Let's say I want to render a Google Map on a button click.
>
> To do so I first need to render a markup and then send a message which
> will trigger JavaScript through post with map data.
>
> With "init" it would not be a problem as command passed to "init" is
> executed after view is already there. But how do I do it with a button
> click? How do I issue a command only after view is rendered?
>
> Thanks.
>
> --
> 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.

Reply via email to