Also, it's always a good idea to consult the FAQ if you have a question you are unlikely the first person to have.
In this case: http://faq.elm-community.org/17.html#how-do-i-generate-a-new-message-as-a-command Am Donnerstag, 14. Juli 2016 schrieb William Casarin : > Hey Adrián, > > On Thu, Jul 14, 2016 at 10:19 AM, Adrián Ribao <[email protected] > <javascript:;>> wrote: > > I've been trying several hours now to modify it so instead of clicking > the > > button, on init I could trigger the message JoinChannel. > > how about this? > > init = update JoinChannel initModel > > Cheers, > William > > -- > https://jb55.com > > -- > 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] <javascript:;>. > For more options, visit https://groups.google.com/d/optout. > -- 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.
