I have an SPA that has a page that includes a chart. I'm using a JS port to activate/send data to a chart.js chart. When the page is loaded, I'd like to send the chart data via the port. I'm able to wire the commands up fine on events (like a select change, for example), but am at a loss for how to get the command to fire when the page is loaded.
I tried wiring up the command in my app's init, but of course this fires before I've retrieved my app data. Thanks so much! -- 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.