For future note, the Elm DOM is not created until the view function is run for the first time, which happens after init, which happens sometime 'after' the elm app creation. Always use callbacks to synch things, never assume any timing (my `cmd_delay` call I use heavily for such synchronization in ports for example).
On Monday, August 1, 2016 at 3:55:43 AM UTC-6, Matic Zavadlal wrote: > > Created ready event, which is triggered via Elm port and works! It's > similar to jQuery ready event. > -- 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 elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.