Re: [elm-discuss] Re: using js library inside elm?

2016-10-13 Thread António Ramos
Nice. thank you. 2016-10-13 15:00 GMT+01:00 Wouter In t Velt : > On Thu, Oct 13, 2016 at 5:46 AM, António Ramos wrote: >> >>> any example of calling an external js method ? >>> >> > Another example of calling external JS method is in the Todo.elm

Re: [elm-discuss] Re: using js library inside elm?

2016-10-13 Thread Wouter In t Velt
> > On Thu, Oct 13, 2016 at 5:46 AM, António Ramos > wrote: > >> any example of calling an external js method ? >> > Another example of calling external JS method is in the Todo.elm example app . Where port to JS

Re: [elm-discuss] Re: using js library inside elm?

2016-10-13 Thread Duane Johnson
The example in the guide (the link that Matthew sent) is about as compact as you're going to find as an example. I know you're probably looking for a simple example, but calling an external javascript method is not a one-liner in Elm. On Thu, Oct 13, 2016 at 5:46 AM, António Ramos

Re: [elm-discuss] Re: using js library inside elm?

2016-10-13 Thread António Ramos
any example of calling an external js method ? 2016-10-13 12:44 GMT+01:00 Matthew Griffith : > You still have to use ports. Check out the SpellCheck part of this > https://guide.elm-lang.org/interop/javascript.html > > > On Thursday, October 13, 2016 at 5:00:47 AM UTC-4,

[elm-discuss] Re: using js library inside elm?

2016-10-13 Thread Matthew Griffith
You still have to use ports. Check out the SpellCheck part of this https://guide.elm-lang.org/interop/javascript.html On Thursday, October 13, 2016 at 5:00:47 AM UTC-4, António Ramos wrote: > > hello i know that i have to use ports to pass data from elm to javascript > but if i want to call an