examples/src/demo-app.js
function addClickHandler() {
  $('.transaction-list-item').click(function() {
    var index = $('.transaction-list-item').index(this);
    dataView.selectedTransaction = dataView.transactions[index];
    render();
  });
}
function addClickHandler() {
  $('.transaction-list-item').click(function() {
    var index = $('.transaction-list-item').index(this);
    dataView.selectedTransaction = dataView.transactions[index];
    render();
  });
}
function addClickHandler ( ) { $ ( '.transaction-list-item' ) . click ( function ( ) { var index = $ ( '.transaction-list-item' ) . index ( this ) ; dataView . selectedTransaction = dataView . transactions [ index ] ; render ( ) ; } ) ; }
Adds a click listener for transaction list items.
Adds a click listener for transaction list items .