Chapter 5. Talking to JavaScript

This chapter covers

  • Rendering custom elements
  • Sending data to JavaScript
  • Receiving data from JavaScript
  • Initializing our Elm application by using data from JavaScript

Now we’ve gotten Photo Groove loading photos from a server. It’s looking better and better! However, our manager has a concern: “We have the photos, and they certainly look sharp. But where is the groove? This is Photo Groove, not Photo Browse! You know what we need? Filters. You know, the kind that make normal photos look all wacky and messed up? Those!”

Sounds groovy.

We collaborate with our team’s visual designer to create a mockup of the filtering feature. The final design calls for a display to report on the current activity of the filtering ...

Get Elm in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.