Wiring up the Show Event
Learn to add the show button to our application’s main page and how to trigger an event in Marionette.
We'll cover the following...
We'll cover the following...
So far, we’ve implemented the functionality to display a list of our contacts. Let’s display contacts on dedicated pages now.
Adding the “Show” button
First, let’s add a “Show” button in our template:
Notice we’ve already included the js-show ...