title: Backbone.js: communication between views
body: <p>I'm working on a Backbone app that contains a list of entries, much like the example app Todos (<a href="http://documentcloud.github.com/backbone/examples/todos/index.html" rel="nofollow noreferrer">http://documentcloud.github.com/backbone/examples/todos/index.html</a>).</p>
  
  <p>So, I have an App view and one view per list item. Now, say I have a global edit button. The App view would handle a click and what I then want to do is tell each list view to show a delete button. </p>
  
  <p>In the screenshots below (from Spotify), pressing the Edit button causes all list views to change appearance.</p>
  
  <p>What's the best way to do this with Backbone. I need to iterate over all list views and call  a editMode function. But the App view (out of the box) doesn't know about the list views..</p>
  
  <p><img src="https://i.stack.imgur.com/xkoVx.png" alt="enter image description here"></p>